diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-17 17:09:46 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-25 10:40:37 -0200 |
commit | efd5745e43f3aabd95d521289e0caa0e30668cf4 (patch) | |
tree | a9ecd2cf333304509e2f2f40ed7734327644a6e5 /security/inode.c | |
parent | ba361c92e73c771fcbbbd24c2c03c322e2de2e31 (diff) | |
download | op-kernel-dev-efd5745e43f3aabd95d521289e0caa0e30668cf4.zip op-kernel-dev-efd5745e43f3aabd95d521289e0caa0e30668cf4.tar.gz |
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 <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-ksutaz0mtejnf7e6az3ca1td@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions