diff options
author | Jim Cromie <[email protected]> | 2012-07-19 13:46:21 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-08-16 10:20:53 -0700 |
commit | af7f2158fdee9d7f55b793b09f8170a3391f889a (patch) | |
tree | 8667955bac67e38218234d3371ed227d6b27d859 /tools/perf/util/trace-event-scripting.c | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) |
drivers-core: make structured logging play nice with dynamic-debug
commit c4e00daaa96d3a0786f1f4fe6456281c60ef9a16 changed __dev_printk
in a way that broke dynamic-debug's ability to control the dynamic
prefix of dev_dbg(dev,..), but not dev_dbg(NULL,..) or pr_debug(..),
which is why it wasnt noticed sooner.
When dev==NULL, __dev_printk() just calls printk(), which just works.
But otherwise, it assumed that level was always a string like "<L>"
and just plucked out the 'L', ignoring the rest. However,
dynamic_emit_prefix() adds "[tid] module:func:line:" to the string,
those additions all got lost.
Signed-off-by: Jim Cromie <[email protected]>
Acked-by: Jason Baron <[email protected]>
Cc: stable <[email protected]>
Cc: Kay Sievers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions