aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2017-03-08 12:29:07 +0530
committerArnaldo Carvalho de Melo <[email protected]>2017-03-20 15:01:32 -0300
commitf0a30dca5f84fe8048271799b56677ac2279de66 (patch)
treeb30baced20b5a9459c25393fcd44563488138172 /tools/perf/scripts/python
parentefc9c05681c589ed942bf8c55a774853938ca8d4 (diff)
perf probe: Fix concat_probe_trace_events
'*ntevs' contains number of elements present in 'tevs' array. If there are no elements in array, 'tevs2' can be directly assigned to 'tevs' without allocating more space. So the condition should be '*ntevs == 0' not 'ntevs == 0'. Signed-off-by: Ravi Bangoria <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Peter Zijlstra <[email protected]> Fixes: 42bba263eb58 ("perf probe: Allow wildcard for cached events") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions