aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-05-17 22:41:11 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2021-05-18 20:08:12 -0400
commit95b55c42f65af3fb9e2dceaf4d8dde522c0472d3 (patch)
tree73745628a5f0508c8a1c826cdac471c58c468ae4 /tools/perf/util/scripting-engines/trace-event-python.c
parent01a4428ee7068875995ee27e9ba5503874f23e3b (diff)
downloadlinux-95b55c42f65af3fb9e2dceaf4d8dde522c0472d3.tar.gz
linux-95b55c42f65af3fb9e2dceaf4d8dde522c0472d3.tar.bz2
linux-95b55c42f65af3fb9e2dceaf4d8dde522c0472d3.zip
d_path: make prepend_name() boolean
It returns only 0 or -ENAMETOOLONG and both callers only check if the result is negative. Might as well return true on success and false on failure... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions