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 report: Use skip_spaces()
[linux-2.6-microblaze.git]
/
tools
/
perf
/
builtin-report.c
diff --git
a/tools/perf/builtin-report.c
b/tools/perf/builtin-report.c
index
91a3762
..
aef59f3
100644
(file)
--- a/
tools/perf/builtin-report.c
+++ b/
tools/perf/builtin-report.c
@@
-941,8
+941,7
@@
parse_time_quantum(const struct option *opt, const char *arg,
pr_err("time quantum cannot be 0");
return -1;
}
- while (isspace(*end))
- end++;
+ end = skip_spaces(end);
if (*end == 0)
return 0;
if (!strcmp(end, "s")) {