* [PATCH] tools: perf: util: Remove duplicate declaration
@ 2021-03-25 4:39 Wan Jiabing
2021-03-25 12:02 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-03-25 4:39 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
Ian Rogers, Kajol Jain, Wan Jiabing, Adrian Hunter, linux-kernel
Cc: kael_w
struct evlist has been declared at 10th line.
struct comm has been declared at 15th line.
Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
tools/perf/util/metricgroup.h | 1 -
tools/perf/util/thread-stack.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/tools/perf/util/metricgroup.h b/tools/perf/util/metricgroup.h
index ed1b9392e624..026bbf416c48 100644
--- a/tools/perf/util/metricgroup.h
+++ b/tools/perf/util/metricgroup.h
@@ -9,7 +9,6 @@
struct evlist;
struct evsel;
-struct evlist;
struct option;
struct rblist;
struct pmu_events_map;
diff --git a/tools/perf/util/thread-stack.h b/tools/perf/util/thread-stack.h
index 3bc47a42af8e..b3cd09beb62f 100644
--- a/tools/perf/util/thread-stack.h
+++ b/tools/perf/util/thread-stack.h
@@ -16,7 +16,6 @@ struct comm;
struct ip_callchain;
struct symbol;
struct dso;
-struct comm;
struct perf_sample;
struct addr_location;
struct call_path;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools: perf: util: Remove duplicate declaration
2021-03-25 4:39 [PATCH] tools: perf: util: Remove duplicate declaration Wan Jiabing
@ 2021-03-25 12:02 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2021-03-25 12:02 UTC (permalink / raw)
To: Wan Jiabing
Cc: Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin,
Jiri Olsa, Namhyung Kim, Ian Rogers, Kajol Jain, Adrian Hunter,
linux-kernel, kael_w
Em Thu, Mar 25, 2021 at 12:39:34PM +0800, Wan Jiabing escreveu:
> struct evlist has been declared at 10th line.
> struct comm has been declared at 15th line.
> Remove the duplicate.
Thanks, applied.
- Arnaldo
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
> tools/perf/util/metricgroup.h | 1 -
> tools/perf/util/thread-stack.h | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/tools/perf/util/metricgroup.h b/tools/perf/util/metricgroup.h
> index ed1b9392e624..026bbf416c48 100644
> --- a/tools/perf/util/metricgroup.h
> +++ b/tools/perf/util/metricgroup.h
> @@ -9,7 +9,6 @@
>
> struct evlist;
> struct evsel;
> -struct evlist;
> struct option;
> struct rblist;
> struct pmu_events_map;
> diff --git a/tools/perf/util/thread-stack.h b/tools/perf/util/thread-stack.h
> index 3bc47a42af8e..b3cd09beb62f 100644
> --- a/tools/perf/util/thread-stack.h
> +++ b/tools/perf/util/thread-stack.h
> @@ -16,7 +16,6 @@ struct comm;
> struct ip_callchain;
> struct symbol;
> struct dso;
> -struct comm;
> struct perf_sample;
> struct addr_location;
> struct call_path;
> --
> 2.25.1
>
--
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-25 12:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 4:39 [PATCH] tools: perf: util: Remove duplicate declaration Wan Jiabing
2021-03-25 12:02 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).