diff options
author | Petr Mladek <[email protected]> | 2014-06-04 16:11:32 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-06-04 16:54:16 -0700 |
commit | 55bd53a4eb3dd18be8744f8b4d026068fc801a62 (patch) | |
tree | e737f1954d722d1363a9752012e0a7229aa0abb7 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 85c87043023b7e5535f975bbee12a4f5399df520 (diff) |
printk: shrink too long messages
We might want to print at least part of too long messages and add some
warning for debugging purpose.
The question is how long the shrunken message should be. If we use the
whole buffer, it might get rotated too soon. Let's try to use only 1/4 of
the buffer for now.
Also shrink the whole dictionary. We do not want to parse it or break it
in the middle of some pair of values. It would not cause any real harm
but still.
Signed-off-by: Petr Mladek <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Kay Sievers <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions