aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/tracing_path.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2015-09-04 03:07:49 +0000
committerIngo Molnar <[email protected]>2015-09-13 09:27:27 +0000
commitfa8c269353d560b7c28119ad7617029f92e40b15 (patch)
tree763677029c81e8c1e512627477b68cab02ddbe1a /tools/lib/api/fs/tracing_path.c
parentperf/core: Add group reads to perf_event_read() (diff)
downloadkernel-fa8c269353d560b7c28119ad7617029f92e40b15.tar.gz
kernel-fa8c269353d560b7c28119ad7617029f92e40b15.zip
perf/core: Invert perf_read_group() loops
In order to enable the use of perf_event_read(.group = true), we need to invert the sibling-child loop nesting of perf_read_group(). Currently we iterate the child list for each sibling, this precludes using group reads. Flip things around so we iterate each group for each child. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> [ Made the patch compile and things. ] Signed-off-by: Sukadev Bhattiprolu <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vince Weaver <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions