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
..
2019-01-18 15:19:56 -08:00
2018-12-29 10:57:20 -08:00
2018-10-24 20:55:56 -04:00
2018-12-30 08:31:52 +00:00
2019-01-16 09:59:17 -05:00
2019-01-18 11:10:38 -03:00
2019-01-18 00:43:09 +01:00
2018-12-01 12:38:50 -08:00
2019-01-21 11:15:39 +01:00
2018-12-28 12:11:47 -08:00
2019-01-03 18:57:57 -08:00
2018-12-01 12:45:42 -08:00
2019-02-03 09:02:03 -08:00
2019-01-15 16:34:37 +01:00
2019-02-11 14:53:43 -05:00
2018-11-26 18:40:00 -05:00
2018-11-26 18:40:00 -05:00
2018-11-26 18:40:00 -05:00
2018-12-14 12:09:30 -05:00
2018-11-26 18:41:21 -05:00
2018-11-26 18:41:21 -05:00
2018-10-31 08:54:14 -07:00
2019-01-04 12:56:09 -08:00
2019-01-30 19:27:00 +01:00
2018-08-22 10:52:47 -07:00
2018-12-19 13:52:44 -05:00
2018-10-26 16:26:32 -07:00
2019-02-01 15:46:23 -08:00
2018-10-31 08:54:12 -07:00
2019-01-08 18:58:29 -08:00
2018-08-06 12:35:20 +02:00
2019-01-21 11:15:38 +01:00
2019-01-04 13:13:45 -08:00
2019-01-06 09:46:51 +09:00
2018-09-10 22:54:33 +09:00
2018-12-15 17:44:35 +09:00
2019-01-04 13:13:47 -08:00
2018-12-28 12:11:47 -08:00
2018-12-06 14:38:50 +00:00
2018-07-16 12:31:57 -07:00
2018-12-26 14:45:18 -08:00
2018-08-13 11:25:07 -07:00
2019-01-06 09:46:51 +09:00
2018-12-28 12:11:52 -08:00
2018-11-07 14:41:41 +01:00
2019-01-06 09:46:51 +09:00
2018-11-16 14:11:04 +08:00
2019-01-04 13:13:47 -08:00
2018-09-16 16:08:25 +02:00
2018-12-28 12:42:30 -08:00
2018-10-31 08:54:16 -07:00
2019-01-03 18:57:57 -08:00
2018-09-11 16:13:24 +01:00
2018-12-28 12:11:49 -08:00
2019-01-03 18:57:57 -08:00
2019-01-15 09:43:12 -08:00
2019-01-03 18:57:57 -08:00
2019-01-30 19:27:00 +01:00
2018-07-03 09:20:44 +02:00
2018-10-25 11:43:47 -07:00
2018-12-05 19:31:44 -08:00
2018-08-13 11:25:07 -07:00
2018-12-18 16:13:04 +01:00
2019-01-14 10:38:03 +12:00
2019-01-04 13:13:47 -08:00
2019-01-04 13:13:47 -08:00
2018-12-01 12:45:35 -08:00
2018-11-27 09:21:41 -08:00
2019-01-11 18:05:40 -08:00
2018-10-09 16:51:11 +02:00
2018-11-07 23:51:16 -06:00
2018-08-22 10:52:47 -07:00
2018-08-11 02:05:53 -05:00
2018-08-30 12:56:40 +02:00
2018-08-30 12:56:40 +02:00
2019-02-01 15:46:23 -08:00
2019-02-01 15:46:23 -08:00