[PATCH 2/3] dynamic_debug: dynamic hex dump

2012-12-05 Thread Jason Baron
From: Vladimir Kondratiev 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

[PATCH 2/3] dynamic_debug: dynamic hex dump

2012-12-05 Thread Jason Baron
From: Vladimir Kondratiev qca_vkond...@qca.qualcomm.com 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