lkml.org 
[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: Provide iowait counters
Peter Zijlstra wrote:
>
> It might be nice to put a tracepoint there as well, now if there was a
> way to specify perf counter attributes in the TRACE_EVENT() magic so
> that we can feed stuff into perf_tpcounter_event().
>
> TP_perf_addr() -- defaults to 0 when not specified
> TP_perf_count() -- defaults to 1 when not specified.
>
> Steve, Frederic, is there any way to make that happen?
>
> Failing that we could put an actual swcounter in there I suppose.
>
> That way we could profile applications based on IO-wait, which would be
> cool.

it'd be nice if this was also a perfcounter event, no doubt about that
(I already have some usages in mind).... but that'd be a separate patch.

\
 
 \ /
  Last update: 2009-07-20 21:33    [from the cache]
©2003-2011 Jasper Spaans