Changbin Du
85acbb21b9
tracing: Change the function format to display function names by perf
Here is an example for this change.
$ sudo perf record -e 'ftrace:function' --filter='ip==schedule'
$ sudo perf report
The output of perf before this patch:
\# Samples: 100 of event 'ftrace:function'
\# Event count (approx.): 100
\#
\# Overhead Trace output
\# ........ ......................................
\#
51.00% ffffffff81f6aaa0 <-- ffffffff81158e8d
29.00% ffffffff81f6aaa0 <-- ffffffff8116ccb2
8.00% ffffffff81f6aaa0 <-- ffffffff81f6f2ed
4.00% ffffffff81f6aaa0 <-- ffffffff811628db
4.00% ffffffff81f6aaa0 <-- ffffffff81f6ec5b
2.00% ffffffff81f6aaa0 <-- ffffffff81f6f21a
1.00% ffffffff81f6aaa0 <-- ffffffff811b04af
1.00% ffffffff81f6aaa0 <-- ffffffff8143ce17
After this patch:
\# Samples: 36 of event 'ftrace:function'
\# Event count (approx.): 36
\#
\# Overhead Trace output
\# ........ ............................................
\#
38.89% schedule <-- schedule_hrtimeout_range_clock
27.78% schedule <-- worker_thread
13.89% schedule <-- schedule_timeout
11.11% schedule <-- smpboot_thread_fn
5.56% schedule <-- rcu_gp_kthread
2.78% schedule <-- exit_to_usermode_loop
Link: http://lkml.kernel.org/r/20190209161919.32350-1-changbin.du@gmail.com
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2019-02-11 14:53:43 -05:00
..
2018-12-07 22:26:37 -07:00
2019-01-03 18:57:57 -08:00
2018-12-22 08:21:03 -05:00
2018-12-08 20:54:06 -05:00
2018-12-31 11:46:59 -08:00
2018-12-08 20:54:10 -05:00
2018-12-08 20:54:09 -05:00
2017-11-02 11:10:55 +01:00
2018-10-17 15:35:33 -04:00
2018-08-16 19:08:06 -04:00
2019-02-06 11:58:33 -05:00
2017-11-02 11:10:55 +01:00
2018-05-15 10:27:29 -07:00
2018-08-16 19:08:06 -04:00
2017-11-02 11:10:55 +01:00
2018-08-16 19:08:06 -04:00
2018-12-10 12:22:44 -05:00
2018-12-08 20:54:09 -05:00
2019-02-11 14:53:43 -05:00
2018-10-10 22:14:17 -04:00
2018-08-16 19:08:06 -04:00
2019-02-06 11:56:19 -05:00
2018-12-22 22:52:09 -05:00
2018-12-11 13:50:19 -05:00
2018-12-22 22:51:54 -05:00
2018-05-29 08:28:53 -04:00
2019-02-06 11:56:19 -05:00
2018-01-23 15:57:00 -05:00
2018-08-16 19:08:06 -04:00
2019-02-06 11:56:18 -05:00
2017-11-02 11:10:55 +01:00
2018-07-30 18:41:04 -04:00
2018-08-16 19:08:06 -04:00
2019-01-15 11:33:45 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-22 08:21:06 -05:00
2018-08-16 19:08:06 -04:00
2018-08-10 15:12:00 -04:00
2018-09-26 12:21:00 +03:00
2018-10-10 22:19:10 -04:00
2019-02-06 11:56:18 -05:00
2018-12-08 20:54:09 -05:00
2017-11-02 11:10:55 +01:00
2019-02-06 11:56:19 -05:00
2018-01-23 15:57:29 -05:00
2018-12-08 20:54:07 -05:00
2018-08-16 19:08:06 -04:00
2018-12-22 22:52:30 -05:00
2017-11-02 11:10:55 +01:00
2018-08-16 19:08:06 -04:00
2017-11-17 14:58:01 -08:00
2018-12-10 12:22:10 -05:00
2018-12-31 11:46:59 -08:00
2019-02-06 11:56:18 -05:00
2018-08-16 19:08:06 -04:00
2018-08-16 19:08:06 -04:00