aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHe Zhe <[email protected]>2018-09-30 00:45:53 +0800
committerPetr Mladek <[email protected]>2018-10-09 14:02:05 +0200
commite6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e (patch)
tree501f09fb02ba30c5ad9ae153a14740886ed7ae00 /tools/perf/scripts/python
parentdd5adbfbfc50ff998909660c6158c0488f7b6a2b (diff)
printk: Give error on attempt to set log buffer length to over 2G
The current printk() is ready to handle log buffer size up to 2G. Give an explicit error for users who want to use larger log buffer. Also fix printk formatting to show the 2G as a positive number. Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] Cc: [email protected] Suggested-by: Sergey Senozhatsky <[email protected]> Signed-off-by: He Zhe <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> [pmladek: Fixed to the really safe limit 2GB.] Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions