Namhyung Kim
29ad23b004
ftrace: Add set_graph_notrace filter
...
The set_graph_notrace filter is analogous to set_ftrace_notrace and
can be used for eliminating uninteresting part of function graph trace
output. It also works with set_graph_function nicely.
# cd /sys/kernel/debug/tracing/
# echo do_page_fault > set_graph_function
# perf ftrace live true
2) | do_page_fault() {
2) | __do_page_fault() {
2) 0.381 us | down_read_trylock();
2) 0.055 us | __might_sleep();
2) 0.696 us | find_vma();
2) | handle_mm_fault() {
2) | handle_pte_fault() {
2) | __do_fault() {
2) | filemap_fault() {
2) | find_get_page() {
2) 0.033 us | __rcu_read_lock();
2) 0.035 us | __rcu_read_unlock();
2) 1.696 us | }
2) 0.031 us | __might_sleep();
2) 2.831 us | }
2) | _raw_spin_lock() {
2) 0.046 us | add_preempt_count();
2) 0.841 us | }
2) 0.033 us | page_add_file_rmap();
2) | _raw_spin_unlock() {
2) 0.057 us | sub_preempt_count();
2) 0.568 us | }
2) | unlock_page() {
2) 0.084 us | page_waitqueue();
2) 0.126 us | __wake_up_bit();
2) 1.117 us | }
2) 7.729 us | }
2) 8.397 us | }
2) 8.956 us | }
2) 0.085 us | up_read();
2) + 12.745 us | }
2) + 13.401 us | }
...
# echo handle_mm_fault > set_graph_notrace
# perf ftrace live true
1) | do_page_fault() {
1) | __do_page_fault() {
1) 0.205 us | down_read_trylock();
1) 0.041 us | __might_sleep();
1) 0.344 us | find_vma();
1) 0.069 us | up_read();
1) 4.692 us | }
1) 5.311 us | }
...
Link: http://lkml.kernel.org/r/1381739066-7531-5-git-send-email-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2013-10-18 22:23:16 -04:00
..
2013-06-14 23:01:05 +02:00
2013-04-30 17:04:10 -07:00
2013-09-20 09:45:11 +02:00
2013-09-12 15:38:03 -07:00
2013-09-13 15:09:52 +02:00
2013-09-30 19:40:56 +02:00
2013-09-03 11:38:36 -07:00
2013-09-20 11:59:39 +02:00
2013-09-18 11:24:49 -05:00
2013-10-18 22:23:16 -04:00
2013-04-22 07:09:06 -07:00
2013-05-04 14:57:58 -04:00
2013-03-12 13:59:14 -07:00
2013-06-12 16:29:46 -07:00
2013-09-24 17:00:26 -07:00
2013-07-09 10:33:19 -07:00
2013-07-09 10:33:19 -07:00
2013-07-09 10:33:19 -07:00
2013-09-09 11:19:09 -07:00
2013-08-08 20:11:27 -04:00
2013-09-07 19:54:57 -04:00
2013-05-01 07:21:43 -07:00
2013-05-01 17:29:18 -04:00
2013-09-27 17:59:47 +02:00
2013-08-13 12:20:16 +02:00
2013-09-03 18:25:03 -07:00
2013-07-09 10:33:26 -07:00
2013-09-11 15:58:25 -07:00
2013-09-13 10:55:58 -07:00
2013-07-30 14:05:06 +02:00
2013-02-23 18:50:11 -08:00
2013-06-25 23:11:19 +02:00
2013-08-30 23:44:11 -07:00
2013-07-14 19:36:59 -04:00
2013-08-02 11:02:42 +02:00
2013-08-09 07:53:54 -07:00
2013-04-15 15:17:26 +09:30
2013-05-28 08:50:00 +02:00
2013-09-11 15:59:10 -07:00
2013-09-30 14:31:02 -07:00
2013-09-11 15:58:52 -07:00
2013-09-12 15:38:03 -07:00
2013-04-30 17:04:02 -07:00
2013-07-12 13:51:19 +02:00
2013-05-12 14:16:21 +02:00
2013-09-13 15:09:52 +02:00
2013-03-15 15:09:43 +10:30
2013-09-11 15:58:21 -07:00
2013-09-05 08:50:26 -07:00
2013-09-04 08:18:19 -07:00
2013-09-07 14:35:32 -07:00
2013-08-29 14:37:59 +10:00
2013-09-11 15:59:30 -07:00
2013-09-28 12:35:52 -07:00
2013-09-07 14:35:32 -07:00
2013-09-30 14:31:03 -07:00
2013-07-03 16:54:42 +02:00
2013-04-18 12:51:19 +02:00
2013-07-14 19:36:59 -04:00
2013-09-11 15:59:01 -07:00
2013-06-18 11:32:10 -05:00
2013-08-18 17:40:03 -07:00
2013-09-09 14:42:15 -07:00
2013-07-29 17:07:49 -04:00
2013-07-29 17:07:49 -04:00
2013-08-20 11:38:45 -07:00
2013-08-31 14:44:02 -07:00
2013-05-05 00:16:35 -04:00
2013-08-31 14:44:45 -07:00
2013-08-31 14:44:02 -07:00
2013-09-24 17:00:26 -07:00
2013-07-14 19:36:59 -04:00
2013-09-12 15:38:02 -07:00
2013-07-03 16:08:06 -07:00
2013-04-10 14:48:37 +02:00
2013-05-28 09:23:52 +02:00
2013-03-23 15:53:52 -07:00
2013-03-26 11:07:19 +11:00
2013-04-30 17:04:08 -07:00
2013-09-11 15:58:18 -07:00
2013-09-11 15:58:25 -07:00
2013-07-14 19:36:59 -04:00
2013-10-01 12:39:08 +02:00
2013-09-11 15:58:21 -07:00
2013-02-07 15:19:36 -08:00
2013-02-26 22:25:17 +01:00
2013-05-09 13:46:38 -04:00
2013-08-30 23:44:11 -07:00
2013-06-26 18:01:46 +09:00
2013-09-12 15:01:38 -07:00
2013-09-11 15:58:27 -07:00
2013-04-29 18:28:42 -07:00
2013-06-19 12:58:42 +02:00
2013-02-16 23:17:25 +01:00
2013-07-14 19:36:59 -04:00
2013-04-29 13:55:38 -07:00
2013-08-30 23:44:11 -07:00
2013-09-11 15:58:25 -07:00
2013-09-07 14:35:32 -07:00
2013-02-27 19:10:24 -08:00
2013-08-26 19:17:03 -07:00
2013-02-27 19:10:22 -08:00
2013-08-30 23:44:11 -07:00
2013-08-19 09:08:54 -07:00
2013-09-24 17:00:25 -07:00
2013-06-19 12:58:42 +02:00
2013-09-06 09:36:28 -07:00