diff options
| author | Joe Perches <[email protected]> | 2010-05-24 14:33:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-05-25 08:07:05 -0700 |
| commit | db0fd97c270f1e80321f7ae55234643ca0978c54 (patch) | |
| tree | 1f825911c8c036e24b457873c74f8e9d16830775 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 2b2f68b5383ea107295d7f1483256866e2daa1e3 (diff) | |
lib/hexdump.c: reduce stack variable size and cleanups
Reduce char linebuf[200] to the actual size required., which is 32 * 3 + 2
+ 32 + 1, ie: linebuf[131].
Change examples to use bool true not int 1.
Align multiline argument indentation to open parenthesis.
Use temporary for ptr[j] so trigraph fits on single line.
Convert printk ptr from %*p, (int)(2 * sizeof(void *)) to %p as %p uses
the same calculation for size.
Signed-off-by: Joe Perches <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions