diff options
author | He Zhe <[email protected]> | 2018-09-30 00:45:53 +0800 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2018-10-09 14:02:05 +0200 |
commit | e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e (patch) | |
tree | 501f09fb02ba30c5ad9ae153a14740886ed7ae00 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dd5adbfbfc50ff998909660c6158c0488f7b6a2b (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions