OSDN Git Service

perf tests: Add missing event.h include
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Oct 2022 20:02:57 +0000 (17:02 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 31 Oct 2022 14:07:08 +0000 (11:07 -0300)
commitfd8d5a3b076c033f5589186ac49d76e74b39f97f
treedd9e8c766a86c9c2c352e8bc63303b086a39e4ab
parentcde5671268faf6419026ebd5e0f1783b3a84cf39
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>
tools/perf/tests/mmap-basic.c
tools/perf/tests/perf-record.c