diff options
author | Jakub Kicinski <[email protected]> | 2018-01-02 14:48:37 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-01-04 12:28:46 +0100 |
commit | b4fac96d9a672def4e24c1858adb7e9351471815 (patch) | |
tree | 7ad59b3c1ad348e95e1daab86b444eb0968bbff6 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6ebe6dbd6886af07b102aca42e44edbee94a22d9 (diff) |
tools: bpftool: remove new lines from errors
It's a little bit unusual for kernel style, but we add the new line
character to error strings inside the p_err() function. We do this
because new lines at the end of error strings will break JSON output.
Fix a few p_err("..\n") which snuck in recently.
Fixes: 5ccda64d38cc ("bpftool: implement cgroup bpf operations")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions