diff options
author | Quentin Monnet <quentin.monnet@netronome.com> | 2019-08-15 17:32:15 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-08-16 08:06:46 +0300 |
commit | 9def249dc8409ffc1f5a1d7195f1c462f2b49c07 (patch) | |
tree | 1f1e366fef86dfe9cd1619cd547ca5aa0e99157e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dadb81d0afe732a7670f7c1bd287dada163a9f2f (diff) | |
download | linux-9def249dc8409ffc1f5a1d7195f1c462f2b49c07.tar.xz |
tools: bpftool: fix arguments for p_err() in do_event_pipe()
The last argument passed to some calls to the p_err() functions is not
correct, it should be "*argv" instead of "**argv". This may lead to a
segmentation fault error if CPU IDs or indices from the command line
cannot be parsed correctly. Let's fix this.
Fixes: f412eed9dfde ("tools: bpftool: add simple perf event output reader")
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions