Steven Rostedt
2bcd521a68
trace: profile all if conditionals
...
Impact: feature to profile if statements
This patch adds a branch profiler for all if () statements.
The results will be found in:
/debugfs/tracing/profile_branch
For example:
miss hit % Function File Line
------- --------- - -------- ---- ----
0 1 100 x86_64_start_reservations head64.c 127
0 1 100 copy_bootdata head64.c 69
1 0 0 x86_64_start_kernel head64.c 111
32 0 0 set_intr_gate desc.h 319
1 0 0 reserve_ebda_region head.c 51
1 0 0 reserve_ebda_region head.c 47
0 1 100 reserve_ebda_region head.c 42
0 0 X maxcpus main.c 165
Miss means the branch was not taken. Hit means the branch was taken.
The percent is the percentage the branch was taken.
This adds a significant amount of overhead and should only be used
by those analyzing their system.
Signed-off-by: Steven Rostedt <srostedt@redhat.com >
Signed-off-by: Ingo Molnar <mingo@elte.hu >
2008-11-23 11:41:01 +01:00
..
2008-10-22 07:37:17 +02:00
2008-11-18 08:07:36 -08:00
2008-11-10 22:39:27 +01:00
2008-11-23 11:41:01 +01:00
2008-10-13 09:51:42 -07:00
2008-11-15 12:26:44 -08:00
2008-08-01 12:15:16 -04:00
2008-11-15 12:26:44 -08:00
2008-10-13 09:51:42 -07:00
2008-08-14 22:59:43 +10:00
2008-10-20 08:52:38 -07:00
2008-11-12 17:17:16 -08:00
2008-11-19 18:50:00 -08:00
2008-10-20 13:14:06 +02:00
2008-10-20 08:52:34 -07:00
2008-11-06 09:05:33 +01:00
2008-11-19 18:49:58 -08:00
2008-07-25 10:53:47 -07:00
2008-08-22 08:34:53 +02:00
2008-10-16 11:21:30 -07:00
2008-10-23 14:30:41 +04:00
2008-11-19 10:04:25 +01:00
2008-11-19 10:04:25 +01:00
2008-10-30 11:38:45 -07:00
2008-09-11 07:17:00 -07:00
2008-11-12 09:54:40 +01:00
2008-09-14 16:25:35 +02:00
2008-11-19 18:49:58 -08:00
2008-10-20 08:52:34 -07:00
2008-07-28 14:37:38 +02:00
2008-10-20 15:28:50 -07:00
2008-10-06 13:50:59 -05:00
2008-10-16 12:38:34 -07:00
2008-11-12 17:17:17 -08:00
2008-10-16 11:21:31 -07:00
2008-11-16 09:01:36 +01:00
2008-08-13 12:55:10 +02:00
2008-08-26 10:37:46 +02:00
2008-10-28 11:19:07 +01:00
2008-11-19 10:04:25 +01:00
2008-11-16 09:52:03 +01:00
2008-11-17 09:36:22 +01:00
2008-07-28 18:12:36 +02:00
2008-10-14 10:34:22 +02:00
2008-07-25 10:53:37 -07:00
2008-08-23 12:14:12 -07:00
2008-10-22 10:00:25 +11:00
2008-10-23 12:09:00 -07:00
2008-09-02 19:21:38 -07:00
2008-07-25 10:53:45 -07:00
2008-09-02 19:21:40 -07:00
2008-11-17 16:49:35 +01:00
2008-10-22 09:48:06 +02:00
2008-10-23 21:54:29 +02:00
2008-11-19 10:19:16 +01:00
2008-10-20 08:52:39 -07:00
2008-10-03 10:41:00 +02:00
2008-10-21 15:59:53 +02:00
2008-08-15 17:54:40 +02:00
2008-10-20 08:52:40 -07:00
2008-10-20 12:51:53 -07:00
2008-11-18 15:08:56 +01:00
2008-07-25 10:53:36 -07:00
2008-11-01 09:53:58 -07:00
2008-07-21 21:55:02 -07:00
2008-09-05 21:35:13 -07:00
2008-10-10 11:17:04 +02:00
2008-11-16 08:07:15 +01:00
2008-11-11 11:57:22 +01:00
2008-11-05 10:30:14 +01:00
2008-10-22 10:01:52 +02:00
2008-10-24 12:48:46 +02:00
2008-11-17 16:49:35 +01:00
2008-11-19 10:04:25 +01:00
2008-08-05 14:33:47 -07:00
2008-11-16 09:01:36 +01:00
2008-11-06 08:41:56 +01:00
2008-11-10 22:36:39 +01:00
2008-10-16 11:21:31 -07:00
2008-08-13 13:56:51 +02:00
2008-11-16 15:09:52 -08:00
2008-11-19 18:49:57 -08:00
2008-10-22 09:48:06 +02:00
2008-07-25 10:53:45 -07:00
2008-11-04 13:04:40 +01:00
2008-07-25 10:53:47 -07:00
2008-09-05 21:34:57 -07:00
2008-11-06 08:42:48 +01:00
2008-11-16 09:52:03 +01:00
2008-07-27 16:12:28 -07:00
2008-08-23 12:14:12 -07:00
2008-08-19 13:10:09 +02:00
2008-10-16 11:21:47 -07:00
2008-08-23 12:14:12 -07:00
2008-10-16 11:21:31 -07:00
2008-11-06 09:05:33 +01:00