diff options
author | Taeung Song <[email protected]> | 2017-07-20 06:36:45 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-21 08:23:38 -0300 |
commit | 896bccd3cb8d95cbc565687715516009c5169e71 (patch) | |
tree | 32faa9f4668fb1b503926520ab0cf471f3220c73 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | b99e4850df86dfd9dc2cf3f3494e403ff8b46876 (diff) |
perf annotate: Introduce struct sym_hist_entry
struct sym_hist has addr[] but it should have not only number of samples
but also the sample period. So use new struct symhist_entry to pave the
way to have that.
Committer notes:
This initial patch will only introduce the struct sym_hist_entry and use
only the nr_samples member, which makes the code clearer and paves the
way to save the period as well.
Signed-off-by: Taeung Song <[email protected]>
Suggested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions