From: David Ahern Date: Sat, 28 Sep 2013 19:12:58 +0000 (-0600) Subject: perf machine: Add method to loop over threads and invoke handler X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~28^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35feee19f9fda7447f51073b5be3f6d082b508f5;p=pandora-kernel.git 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 Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1380395584-9025-2-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed