aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJin Yao <[email protected]>2017-05-04 14:58:14 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-06-19 18:14:57 +0000
commitc564f0db92b7f8d734ce530e42a540e12ae3d583 (patch)
tree30e8c20d5845812d7f763e0d5d21e2c550c7aae9 /tools/perf/util/scripting-engines/trace-event-python.c
parentMerge remote-tracking branch 'tip/perf/urgent' into perf/core (diff)
downloadkernel-c564f0db92b7f8d734ce530e42a540e12ae3d583.tar.gz
kernel-c564f0db92b7f8d734ce530e42a540e12ae3d583.zip
perf report: Remove unnecessary check in annotate_browser_write()
In annotate_browser_write(), if (dl->offset != -1 && percent_max != 0.0) { if (percent_max != 0.0) { ... } ... } The second check of (percent_max != 0.0) is not necessary, remove it. Signed-off-by: Yao Jin <[email protected]> Acked-by: Milian Wolff <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Yao Jin <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions