diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-21 01:51:53 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-23 11:40:21 +0100 |
commit | bac28bfe42ba98ee67503f78984d1d5e1ebbbb78 (patch) | |
tree | 4187a43a240651919adbd6c0ad334dc10209ca23 /include/linux/compiler.h | |
parent | 45b797492a0758e64dff74e9db70e1f65e0603a5 (diff) | |
download | lwn-bac28bfe42ba98ee67503f78984d1d5e1ebbbb78.tar.gz lwn-bac28bfe42ba98ee67503f78984d1d5e1ebbbb78.zip |
trace: branch profiling should not print percent without data
Impact: cleanup on output of branch profiler
When a branch has not been taken, it does not make sense to show
a percentage incorrect or hit. This patch changes the behaviour
to print out a 'X' when the branch has not been executed yet.
For example:
correct incorrect % Function File Line
------- --------- - -------- ---- ----
2096 0 0 do_arch_prctl process_64.c 832
0 0 X do_arch_prctl process_64.c 804
2604 0 0 IS_ERR err.h 34
130228 5765 4 __switch_to process_64.c 673
0 0 X enable_TSC process_64.c 448
0 0 X disable_TSC process_64.c 431
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions