Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf symbols: Fix dso__fprintf_symbols_by_name() to return the number…
… of printed chars [ Upstream commit 210e4c89ef61432040c6cd828fefa441f4887186 ] 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: 90f18e6 ("perf symbols: List symbols in a dso in ascending name order") Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information