1

perf tests: Add missing event.h include

It uses things like perf_event__name() but were not including event.h,
where its prototype lives, fix it.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2022-10-27 17:02:57 -03:00
parent cde5671268
commit fd8d5a3b07
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <perf/cpumap.h>
#include "debug.h"
#include "event.h"
#include "evlist.h"
#include "evsel.h"
#include "thread_map.h"

View File

@ -5,6 +5,7 @@
#include <sched.h>
#include <perf/mmap.h>
#include "event.h"
#include "evlist.h"
#include "evsel.h"
#include "debug.h"