aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorSanskriti Sharma <[email protected]>2018-10-02 10:29:10 -0400
committerArnaldo Carvalho de Melo <[email protected]>2018-10-08 14:23:44 -0300
commitce49d8436cffa9b7a6a5f110879d53e89dbc6746 (patch)
treefe7baef3fda23d62917335853219e7b5dfef9056 /tools/perf/scripts/python/call-graph-from-sql.py
parent0e24147d69c9357b1ccb54a9bc028eb9a9f9ed1a (diff)
perf strbuf: Match va_{add,copy} with va_end
Ensure that all code paths in strbuf_addv() call va_end() on the ap_saved copy that was made. Fixes the following coverity complaint: Error: VARARGS (CWE-237): [#def683] tools/perf/util/strbuf.c:106: missing_va_end: va_end was not called for "ap_saved". Signed-off-by: Sanskriti Sharma <[email protected]> Reviewed-by: Jiri Olsa <[email protected]> Cc: Joe Lawrence <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions