aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2015-11-05 18:47:26 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commita5f65109026b35b654b94fdcd26a971185a53adc (patch)
tree8367ff9f1496ed3cbb8228a1266c5a924cb9b394 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentaa750fd71c242dba02ee2034e15fbd7d0cdb2461 (diff)
mm: hwpoison: ratelimit messages from unpoison_memory()
Currently kernel prints out results of every single unpoison event, which i= s not necessary because unpoison is purely a testing feature and testers can = get little or no information from lots of lines of unpoison log storm. So this patch ratelimits printk in unpoison_memory(). This patch introduces a file local ratelimit_state, which adds 64 bytes to memory-failure.o. If we apply pr_info_ratelimited() for 8 callsite below, 2= 56 bytes is added, so it's a win. Signed-off-by: Naoya Horiguchi <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Wanpeng Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions