diff options
author | Jin Yao <[email protected]> | 2018-06-01 17:01:01 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-06-06 12:52:09 -0300 |
commit | 5f9e0f3158a5cd0ef7bb205b9f1826b2ec1893a9 (patch) | |
tree | 55eb34bc0a2eb86b0c225a0e4a5e8baead871103 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 2be732c02adb15ed7f2196f075fe63ba6991642c (diff) |
perf script python: Move dsoname code to a new function
This patch creates a new function get_dsoname() and move the code which
gets the dsoname string to this function.
That's because in next patch, when we process LBR data, we will also
need get_dsoname() to return dsoname for branch from/to.
Signed-off-by: Jin Yao <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[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-sql.py')
0 files changed, 0 insertions, 0 deletions