projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Ditch rtrim(), use skip_spaces() to get closer to the kernel
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
pmu.c
diff --git
a/tools/perf/util/pmu.c
b/tools/perf/util/pmu.c
index
faa8eb2
..
38dc0c6
100644
(file)
--- a/
tools/perf/util/pmu.c
+++ b/
tools/perf/util/pmu.c
@@
-1,6
+1,7
@@
// SPDX-License-Identifier: GPL-2.0
#include <linux/list.h>
#include <linux/compiler.h>
+#include <linux/string.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
@@
-1339,7
+1340,7
@@
static void wordwrap(char *s, int start, int max, int corr)
break;
s += wlen;
column += n;
- s =
ltrim
(s);
+ s =
skip_spaces
(s);
}
}