aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/annotate.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-08-04 13:05:08 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-08-08 18:55:47 +0000
commit2bcf73069b0722c92a84c0fd57df542890a74904 (patch)
treea3c1c2e5e5ff130246c3a3d625fa9554c320f3e2 /tools/perf/ui/browsers/annotate.c
parentperf annotate: Rename hist to sym_hist in annotation__calc_percent (diff)
downloadkernel-2bcf73069b0722c92a84c0fd57df542890a74904.tar.gz
kernel-2bcf73069b0722c92a84c0fd57df542890a74904.zip
perf annotate: Loop group events directly in annotation__calc_percent()
We need to bring in 'struct hists' object and for that we need 'struct perf_evsel' object in the scope. Switching the group data loop with the evsel group loop. It does the same thing, but it brings evsel object, that we can use later get the 'struct hists' object. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: David Ahern <[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/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions