aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChen Yucong <[email protected]>2016-03-17 14:19:35 -0700
committerLinus Torvalds <[email protected]>2016-03-17 15:09:34 -0700
commite33e33b4d1c699d06fb8ccd6da80b309b84ec975 (patch)
tree998674163dbc357c82c3be860ecbd6a379cc860e /tools/perf/scripts/python/export-to-postgresql.py
parent0f352e5392c86d054998dd6526f2fdc33ec4bed5 (diff)
mm, memory hotplug: print debug message in the proper way for online_pages
online_pages() simply returns an error value if memory_notify(MEM_GOING_ONLINE, &arg) return a value that is not what we want for successfully onlining target pages. This patch arms to print more failure information like offline_pages() in online_pages. This patch also converts printk(KERN_<LEVEL>) to pr_<level>(), and moves __offline_pages() to not print failure information with KERN_INFO according to David Rientjes's suggestion[1]. [1] https://lkml.org/lkml/2016/2/24/1094 Signed-off-by: Chen Yucong <[email protected]> Acked-by: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions