perf tools: Move 'struct perf_sample' to a separate header file to disentangle headers

Some places were including event.h just to get 'struct perf_sample',
move it to a separate place so that we speed up a bit the build.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo
2022-10-26 17:24:27 -03:00
parent 0804333016
commit 9823147da6
31 changed files with 147 additions and 118 deletions

View File

@@ -12,9 +12,9 @@
#include "debug.h"
#include "trace-event.h"
#include "event.h"
#include "evsel.h"
#include <linux/zalloc.h>
#include "util/sample.h"
struct scripting_context *scripting_context;