diff options
| author | Matt Fleming <[email protected]> | 2010-08-28 15:46:19 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-10-26 15:03:09 +0000 |
| commit | 0ab7368f8dad561b6164b3e942cab00f9565bd37 (patch) | |
| tree | ec100f628d72adda336c1c842caf1a4ba626e416 /tools/perf/scripts/python/futex-contention.py | |
| parent | perf python scripting: Support fedora 11 (audit 1.7.17) (diff) | |
| download | kernel-0ab7368f8dad561b6164b3e942cab00f9565bd37.tar.gz kernel-0ab7368f8dad561b6164b3e942cab00f9565bd37.zip | |
perf record: Remove newline character from perror() argument
If we include a newline character in the string argument to perror()
then the output will be split across two lines like so,
Unable to read perf file descriptor
: No space left on device
Deleting the newline character prints a much more readable error,
Unable to read perf file descriptor: No space left on device
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <89e77b54659bc3798b23a5596c2debb7f6f4cf27.1283010281.git.matt@console-pimps.org>
Signed-off-by: Matt Fleming <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
