diff options
author | Jin Yao <[email protected]> | 2020-10-09 10:28:43 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-10-14 13:34:06 -0300 |
commit | 28904f4dcea1444adea4b51ba0af32d6c7314101 (patch) | |
tree | fef3a19d2d8e12e8221cccdb28be36ab8b67cebc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fa79aa6485816b86f37205fd5659616d64f8be7f (diff) |
perf streams: Calculate the sum of total streams hits
We have used callchain_node->hit to measure the hot level of one stream.
This patch calculates the sum of hits of total streams.
Thus in next patch, we can use following formula to report hot percent
for one stream.
hot percent = callchain_node->hit / sum of total hits
Signed-off-by: Jin Yao <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions