• M
    perf script: Mark inlined frames and do not print DSO for them · 9628b56d
    Milian Wolff 提交于
    Instead of showing the (repeated) DSO name of the non-inlined frame, we
    now show the "(inlined)" suffix instead.
    
    Before:
                       214f7 __hypot_finite (/usr/lib/libm-2.25.so)
                        ace3 hypot (/usr/lib/libm-2.25.so)
                         a4a std::__complex_abs (/home/milian/projects/src/perf-tests/inlining)
                         a4a std::abs<double> (/home/milian/projects/src/perf-tests/inlining)
                         a4a std::_Norm_helper<true>::_S_do_it<double> (/home/milian/projects/src/perf-tests/inlining)
                         a4a std::norm<double> (/home/milian/projects/src/perf-tests/inlining)
                         a4a main (/home/milian/projects/src/perf-tests/inlining)
                       20510 __libc_start_main (/usr/lib/libc-2.25.so)
                         bd9 _start (/home/milian/projects/src/perf-tests/inlining)
    
    After:
                       214f7 __hypot_finite (/usr/lib/libm-2.25.so)
                        ace3 hypot (/usr/lib/libm-2.25.so)
                         a4a std::__complex_abs (inlined)
                         a4a std::abs<double> (inlined)
                         a4a std::_Norm_helper<true>::_S_do_it<double> (inlined)
                         a4a std::norm<double> (inlined)
                         a4a main (/home/milian/projects/src/perf-tests/inlining)
                       20510 __libc_start_main (/usr/lib/libc-2.25.so)
                         bd9 _start (/home/milian/projects/src/perf-tests/inlining)
    Signed-off-by: NMilian Wolff <milian.wolff@kdab.com>
    Reviewed-by: NJiri Olsa <jolsa@redhat.com>
    Reviewed-by: NNamhyung Kim <namhyung@kernel.org>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Yao Jin <yao.jin@linux.intel.com>
    Link: http://lkml.kernel.org/r/20171009203310.17362-9-milian.wolff@kdab.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    9628b56d
evsel_fprintf.c 5.9 KB