aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2016-03-08 17:17:15 -0500
committerSteven Rostedt <[email protected]>2016-04-19 18:56:05 -0400
commitd50c744ecde7ee3ba4d7ffb0e1c55e7a2f6bbc8e (patch)
treee1f246a1ee69683eb2a87298e35dad1ae327591d /tools/perf/scripts/python/sctop.py
parent93c5f671f25cb7a73492b7a96b426c4fb1efa715 (diff)
tracing: Fix unsigned comparison to zero in hist trigger code
Fengguang Wu's bot found two comparisons of unsigned integers to zero. These were real bugs, as it would miss error conditions returned to zero. trace_events_hist.c:426:6-9: WARNING: Unsigned expression compared with zero: idx < 0 trace_events_hist.c:568:5-14: WARNING: Unsigned expression compared with zero: n_entries < 0 Reported-by: kbuild test robot <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions