diff options
author | Paul Gortmaker <[email protected]> | 2019-04-12 22:11:31 -0400 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2019-04-15 10:23:53 +0200 |
commit | 3ec25826ae33618a03c28235af8d62e8a7f7f15f (patch) | |
tree | 142911824661921ae29ccc96d894c2e6e3782dc8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2821fd0c2be0c4e513b1622d86df9170ef62a6d4 (diff) |
printk: Tie printk_once / printk_deferred_once into .data.once for reset
In commit b1fca27d384e ("kernel debug: support resetting WARN*_ONCE")
we got the opportunity to reset state on the one shot messages,
without having to reboot.
However printk_once (printk_deferred_once) live in a different file
and didn't get the same kind of update/conversion, so they remain
unconditionally one shot, until the system is rebooted.
For example, we currently have:
sched/rt.c: printk_deferred_once("sched: RT throttling activated\n");
..which could reasonably be tripped as someone is testing and tuning
a new system/workload and their task placements. For consistency, and
to avoid reboots in the same vein as the original commit, we make these
two instances of _once the same as the WARN*_ONCE instances are.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Andi Kleen <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Paul Gortmaker <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions