aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2012-10-17 17:09:46 -0300
committerArnaldo Carvalho de Melo <[email protected]>2012-10-25 10:40:37 -0200
commitefd5745e43f3aabd95d521289e0caa0e30668cf4 (patch)
treea9ecd2cf333304509e2f2f40ed7734327644a6e5 /lib/memory-notifier-error-inject.c
parentba361c92e73c771fcbbbd24c2c03c322e2de2e31 (diff)
perf trace: Count number of events for each thread and globally
The nr_events in trace__run was local, but we will need it in other trace methods, move it to struct trace. We'll also need the number of events per thread, so introduce a nr_events method for that in struct thread_trace. Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions