perf tools: Move TUI-specific fields out of map_symbol
authorNamhyung Kim <namhyung@kernel.org>
Tue, 5 May 2015 14:55:46 +0000 (23:55 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 May 2015 21:13:24 +0000 (18:13 -0300)
commit3698dab1c849c7e1cd440df4fca24baa1973d53b
tree9a3847105313f31192890e7d2b1a64b75e0f9c66
parent6422184b087ff4355951d72e0bb320f52e107185
perf tools: Move TUI-specific fields out of map_symbol

The has_children and unfolded fields don't belong to the struct
map_symbol since they're used by the TUI only.  Move those fields out of
map_symbol since the struct is also used by other places.

This will also help to compact the sizeof struct hist_entry.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1429687101-4360-11-git-send-email-namhyung@kernel.org
Link: http://lkml.kernel.org/r/1430837746-5439-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/util/callchain.h
tools/perf/util/hist.c
tools/perf/util/sort.h
tools/perf/util/symbol.h