]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf evsel: Move xyarray.h from evsel.c to evsel.h to reduce include dep tree
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Aug 2019 14:30:29 +0000 (11:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 20:16:56 +0000 (17:16 -0300)
commit7646602401e6f45e4013ddb7c41f6bc211032d02
tree34c4df6304675b4ec3f00c168d6c6c0a1cfcc742
parent0b8026e8fb0ea3893caa2f1924a2c15fcf6760b3
perf evsel: Move xyarray.h from evsel.c to evsel.h to reduce include dep tree

All we need in util/evsel.h is the foward declaration of 'struct
xyarray', not the internal/xyarray.h, that can be moved to util/evsel.c
and then we reduce the header dependency tree.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-wwqce6ixwcyq6yzx3ljrdm80@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
tools/perf/util/evsel.h