diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-07-03 05:34:24 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-03 05:39:46 -0400 |
commit | ddc1637af217dbd8bc51f30e6d24e84476a869a6 (patch) | |
tree | 2ff7a1330093ad524ab367f85f6cc6753ea293c3 /kernel/power/console.c | |
parent | 020e5f85cb087a40572c8b8b2dd06292a14fa212 (diff) |
kmemtrace: Print binary output only if 'bin' option is set
Currently by default the output of kmemtrace is binary format instead
of human-readable output.
This patch makes the following changes:
- We'll see human-readable output by default
- We'll see binary output if 'bin' option is set
Note: you may probably need to explicitly disable context-info binary
output:
# echo 0 > options/context-info
# echo 1 > options/bin
# cat trace_pipe
v2:
- use %pF to print call_site
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A4DD0A0.5060500@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/power/console.c')
0 files changed, 0 insertions, 0 deletions