]> git.baikalelectronics.ru Git - kernel.git/commit
perf srccode: Move struct definition from map.h to srccode.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 27 Jan 2019 10:31:39 +0000 (11:31 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:38 +0000 (10:00 -0300)
commit8b81908aae35e620daaea8d29992bb51c948ca32
treeac3306d84addf8b26097c7d857fe18b1a148eff1
parent2b81edda3d1626cc0d36e09899b86455bf7f9900
perf srccode: Move struct definition from map.h to srccode.h

To reduce the header dependencies, since we already have a srccode.h
header, then there is where the 'struct srccode_state' should be, and
map.h, that is more widely used should have just a forward declaraion
of 'struct srccode_state'.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-64lrkjjaa7wlo1zi2gr5u3es@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/map.h
tools/perf/util/srccode.h
tools/perf/util/thread.h