diff options
| author | Vladimir Kondratiev <[email protected]> | 2012-12-05 21:48:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-17 20:19:09 +0000 |
| commit | 7a555613eb77c69eb6e48b61bc5f72dd42fa1780 (patch) | |
| tree | fd2c5ef59a77ba532a5957923f9919fa170027f9 /lib/dynamic_debug.c | |
| parent | dynamic_debug: Fix vpr_<foo> logging styles (diff) | |
| download | kernel-7a555613eb77c69eb6e48b61bc5f72dd42fa1780.tar.gz kernel-7a555613eb77c69eb6e48b61bc5f72dd42fa1780.zip | |
dynamic_debug: dynamic hex dump
Introduce print_hex_dump_debug() that can be dynamically controlled, similar to
pr_debug.
Also, make print_hex_dump_bytes() dynamically controlled
Implement only 'p' flag (_DPRINTK_FLAGS_PRINT) to keep it simple since hex dump prints
multiple lines and long prefix would impact readability.
To provide line/file etc. information, use pr_debug or similar
before/after print_hex_dump_debug()
Signed-off-by: Vladimir Kondratiev <[email protected]>
Signed-off-by: Jason Baron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
