All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf parse-events: Remove unnecessary #includes
@ 2021-01-27 18:46 Ian Rogers
  2021-02-03  4:22 ` Namhyung Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Rogers @ 2021-01-27 18:46 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Andi Kleen, Jin Yao, Leo Yan, linux-kernel
  Cc: Stephane Eranian, Ian Rogers

Minor cleanup motivated by trying to separately fuzz test parse-events.

Signed-off-by: Ian Rogers <irogers@google.com>
---
 tools/perf/util/parse-events.c | 2 --
 tools/perf/util/parse-events.l | 1 -
 2 files changed, 3 deletions(-)

diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 42c84adeb2fb..8982b3c8014c 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -19,8 +19,6 @@
 #include <subcmd/exec-cmd.h>
 #include "string2.h"
 #include "strlist.h"
-#include "symbol.h"
-#include "header.h"
 #include "bpf-loader.h"
 #include "debug.h"
 #include <api/fs/tracing_path.h>
diff --git a/tools/perf/util/parse-events.l b/tools/perf/util/parse-events.l
index 9db5097317f4..03d2ac04edb3 100644
--- a/tools/perf/util/parse-events.l
+++ b/tools/perf/util/parse-events.l
@@ -12,7 +12,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include "../perf.h"
 #include "parse-events.h"
 #include "parse-events-bison.h"
 #include "evsel.h"
-- 
2.30.0.280.ga3ce27912f-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] perf parse-events: Remove unnecessary #includes
  2021-01-27 18:46 [PATCH] perf parse-events: Remove unnecessary #includes Ian Rogers
@ 2021-02-03  4:22 ` Namhyung Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2021-02-03  4:22 UTC (permalink / raw)
  To: Ian Rogers
  Cc: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Andi Kleen, Jin Yao,
	Leo Yan, linux-kernel, Stephane Eranian

Hi Ian,

On Thu, Jan 28, 2021 at 3:46 AM Ian Rogers <irogers@google.com> wrote:
>
> Minor cleanup motivated by trying to separately fuzz test parse-events.
>
> Signed-off-by: Ian Rogers <irogers@google.com>

Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung


> ---
>  tools/perf/util/parse-events.c | 2 --
>  tools/perf/util/parse-events.l | 1 -
>  2 files changed, 3 deletions(-)
>
> diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
> index 42c84adeb2fb..8982b3c8014c 100644
> --- a/tools/perf/util/parse-events.c
> +++ b/tools/perf/util/parse-events.c
> @@ -19,8 +19,6 @@
>  #include <subcmd/exec-cmd.h>
>  #include "string2.h"
>  #include "strlist.h"
> -#include "symbol.h"
> -#include "header.h"
>  #include "bpf-loader.h"
>  #include "debug.h"
>  #include <api/fs/tracing_path.h>
> diff --git a/tools/perf/util/parse-events.l b/tools/perf/util/parse-events.l
> index 9db5097317f4..03d2ac04edb3 100644
> --- a/tools/perf/util/parse-events.l
> +++ b/tools/perf/util/parse-events.l
> @@ -12,7 +12,6 @@
>  #include <sys/types.h>
>  #include <sys/stat.h>
>  #include <unistd.h>
> -#include "../perf.h"
>  #include "parse-events.h"
>  #include "parse-events-bison.h"
>  #include "evsel.h"
> --
> 2.30.0.280.ga3ce27912f-goog
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-03  4:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 18:46 [PATCH] perf parse-events: Remove unnecessary #includes Ian Rogers
2021-02-03  4:22 ` Namhyung Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.