]> 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)
commit355d6bf9313a16e095029cd9c26723e5a99180fb
treeac3306d84addf8b26097c7d857fe18b1a148eff1
parentde657c65fa8476c278e0b94e424a9866f6349763
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