-
- Downloads
perf diff: Refactor diff displacement possition info
Moving the position calculation into the diff command, so the position as prepared inside struct hist_entry data and there's no need to compute in the output display path. Removing 'displacement' from struct perf_hpp as it is no longer needed. Signed-off-by:Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1349354994-17853-3-git-send-email-namhyung@kernel.org Signed-off-by:
Namhyung Kim <namhyung@kernel.org> Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/builtin-diff.c 32 additions, 17 deletionstools/perf/builtin-diff.c
- tools/perf/builtin-report.c 1 addition, 1 deletiontools/perf/builtin-report.c
- tools/perf/builtin-top.c 1 addition, 1 deletiontools/perf/builtin-top.c
- tools/perf/ui/hist.c 5 additions, 3 deletionstools/perf/ui/hist.c
- tools/perf/ui/stdio/hist.c 3 additions, 14 deletionstools/perf/ui/stdio/hist.c
- tools/perf/util/hist.h 1 addition, 3 deletionstools/perf/util/hist.h
- tools/perf/util/sort.h 1 addition, 1 deletiontools/perf/util/sort.h
Loading
Please register or sign in to comment