Skip to content

Commit

Permalink
perf diff: Remove displacement from struct hist_entry_diff
Browse files Browse the repository at this point in the history
Removing displacement from struct hist_entry_diff, because it's not
used. Displacement is not used for sorting, so there's no reason to
pre-calculate it.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1354110769-2998-5-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Jiri Olsa authored and Arnaldo Carvalho de Melo committed Dec 9, 2012
1 parent 823254e commit fa283ad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/perf/util/sort.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ struct he_stat {
struct hist_entry_diff {
bool computed;

/* PERF_HPP__DISPL */
int displacement;

/* PERF_HPP__DELTA */
double period_ratio_delta;

Expand Down

0 comments on commit fa283ad

Please sign in to comment.