diff options
author | Jiri Olsa <[email protected]> | 2019-11-05 00:27:11 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-11-05 08:49:14 -0300 |
commit | 722ddfde366fd46205456a9c5ff9b3359dc9a75e (patch) | |
tree | 40fb9fe4376ba0524b291a2838b25925c4bd18a4 /lib/netdev-notifier-error-inject.c | |
parent | 6047e1a81e9fe9851ed37e13c2438312c04435d9 (diff) |
perf tools: Fix time sorting
The final sort might get confused when the comparison is done over
bigger numbers than int like for -s time.
Check the following report for longer workloads:
$ perf report -s time -F time,overhead --stdio
Fix hist_entry__sort() to properly return int64_t and not possible cut
int.
Fixes: 043ca389a318 ("perf tools: Use hpp formats to sort final output")
Signed-off-by: Jiri Olsa <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected] # v3.16+
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions