[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190822141348.GA29569@kernel.org>
Date: Thu, 22 Aug 2019 11:13:48 -0300
From: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To: Jiri Olsa <jolsa@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Michael Petlan <mpetlan@...hat.com>
Subject: Re: [PATCH 1/5] tools: Add missing perf_event.h include
Em Thu, Aug 22, 2019 at 01:11:37PM +0200, Jiri Olsa escreveu:
> We need perf_event.h include for 'struct perf_event_mmap_page'.
>
> Link: http://lkml.kernel.org/n/tip-bolqkmqajexhccjb0ib0an8w@git.kernel.org
Thanks, applied.
- Arnaldo
> Signed-off-by: Jiri Olsa <jolsa@...nel.org>
> ---
> tools/include/linux/ring_buffer.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/include/linux/ring_buffer.h b/tools/include/linux/ring_buffer.h
> index 9a083ae60473..6c02617377c2 100644
> --- a/tools/include/linux/ring_buffer.h
> +++ b/tools/include/linux/ring_buffer.h
> @@ -2,6 +2,7 @@
> #define _TOOLS_LINUX_RING_BUFFER_H_
>
> #include <asm/barrier.h>
> +#include <linux/perf_event.h>
>
> /*
> * Contract with kernel for walking the perf ring buffer from
> --
> 2.21.0
--
- Arnaldo
Powered by blists - more mailing lists