projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
699db11
)
perf debug: Avoid setting 'quiet' to 'true' unnecessarily
author
Yisheng Xie
<
[email protected]
>
Tue, 13 Mar 2018 12:31:14 +0000
(20:31 +0800)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Fri, 16 Mar 2018 19:39:02 +0000
(16:39 -0300)
When using --quiet to disable messages, we will set the 'quiet' variable
to 'true' first, then check that variable to decide whether we need to
call perf_quiet_option(), so no need to set 'quiet' to 'true' once more
in perf_quiet_option().
Signed-off-by: Yisheng Xie <
[email protected]
>
Cc: Alexander Shishkin <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Kan Liang <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/debug.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/debug.c
b/tools/perf/util/debug.c
index f3a71db83947355136204b9e2425af21d7af8902..3d6459626c2af826dc8a4537c3b51bf95063f10c 100644
(file)
--- a/
tools/perf/util/debug.c
+++ b/
tools/perf/util/debug.c
@@
-232,7
+232,6
@@
int perf_quiet_option(void)
var++;
}
- quiet = true;
return 0;
}