diff options
author | David Ahern <[email protected]> | 2013-09-28 13:12:58 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-10-11 12:17:51 -0300 |
commit | 35feee19f9fda7447f51073b5be3f6d082b508f5 (patch) | |
tree | 53a42e1713716a05659a7f4866b3141f10194927 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5e2485b1a2813faa6b80007c653f8bbbed9457ee (diff) |
perf machine: Add method to loop over threads and invoke handler
Loop over all threads within a machine - including threads moved to the
dead threads list -- and invoked a function.
This allows commands to run some specific function on each thread (eg.,
dump statistics) yet hides how the threads are maintained within the
machine.
Signed-off-by: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions