diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-28 15:49:02 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-28 15:53:05 +0000 |
| commit | 48cc33085253d607706e68a67ac98fe2a6abdd3d (patch) | |
| tree | 07188372412d676ea9cb620b9b1406de68416c0e /tools/perf/ui/browsers/annotate.c | |
| parent | perf annotate stdio: Set enough columns for --show-total-period (diff) | |
| download | kernel-48cc33085253d607706e68a67ac98fe2a6abdd3d.tar.gz kernel-48cc33085253d607706e68a67ac98fe2a6abdd3d.zip | |
perf annotate: Fix storing per line sym_hist_entry
The existing loop incremented the offset while using it as the array
index, when we went to an array of sym_hist_entry instances, we
should've moved the increment to outside of the array element reference,
oops, fix it.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Taeung Song <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: 461c17f00f40 ("perf annotate: Store the sample period in each histogram bucket")
Link: http://lkml.kernel.org/n/[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
