aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/perf-record.txt
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2010-08-28 16:46:19 +0100
committerArnaldo Carvalho de Melo <acme@felicio.ghostprotocols.net>2010-10-26 13:03:09 -0200
commit0ab7368f8dad561b6164b3e942cab00f9565bd37 (patch)
treeec100f628d72adda336c1c842caf1a4ba626e416 /tools/perf/Documentation/perf-record.txt
parent7f6c1bd50d73d12f8b4ea09edb4515997f6527f5 (diff)
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 <peterz@infradead.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <89e77b54659bc3798b23a5596c2debb7f6f4cf27.1283010281.git.matt@console-pimps.org> Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@felicio.ghostprotocols.net>
Diffstat (limited to 'tools/perf/Documentation/perf-record.txt')
0 files changed, 0 insertions, 0 deletions