aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2021-03-08 14:17:51 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-03-08 14:17:51 +0000
commit210e4c89ef61432040c6cd828fefa441f4887186 (patch)
treee38f3a702e71ccf92ae19dc7b1523b472b926644 /tools/perf/builtin-script.c
parenttools include: Add __sum16 and __wsum definitions. (diff)
downloadkernel-210e4c89ef61432040c6cd828fefa441f4887186.tar.gz
kernel-210e4c89ef61432040c6cd828fefa441f4887186.zip
perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
The 'ret' variable was initialized to zero but then it was not updated from the fprintf() return, fix it. Reported-by: Yang Li <[email protected]> cc: Alexander Shishkin <[email protected]> cc: Ingo Molnar <[email protected]> cc: Jiri Olsa <[email protected]> cc: Mark Rutland <[email protected]> cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Srikar Dronamraju <[email protected]> Fixes: 90f18e63fbd00513 ("perf symbols: List symbols in a dso in ascending name order") Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions