This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: task time tapset


Hi Josh,

On Fri, 2009-10-09 at 15:53 -0700, Josh Stone wrote:
> On 10/09/2009 08:17 AM, Mark Wielaard wrote:
> Since this doesn't operate on arbitrary tasks, I wonder if it would make 
> sense to drop the "task_" prefix, like the functions in context.stp. 
> Maybe time_string() sounds too generic though... just thinking aloud...

My thinking was the opposite. Since these don't operate on "processes",
but just on individual "tasks" (unlike the proc_mem functions, which
show usage per process) adding task as prefix makes that more clear. I
think stripping the prefix would be too general. We might provide
proc_utime and proc_stime later (if we can figure out the locking for
going over the whole proc task hierarchy that is). So for now lets keep
it. But maybe we have to go over all the tapsets before the next release
and see if they are too specific or too generally named.

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]