All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] perf stat: Remove duplicated include in builtin-stat.c
@ 2022-08-04  0:52 Yang Li
  2022-08-04 15:32 ` Ian Rogers
  0 siblings, 1 reply; 3+ messages in thread
From: Yang Li @ 2022-08-04  0:52 UTC (permalink / raw)
  To: peterz
  Cc: mingo, acme, mark.rutland, alexander.shishkin, jolsa, namhyung,
	linux-perf-users, linux-kernel, Yang Li, Abaci Robot

util/topdown.h is included twice in builtin-stat.c,
remove one of them.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1818
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 tools/perf/builtin-stat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index 3d22543fc305..e326226656e4 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -71,7 +71,6 @@
 #include "util/bpf_counter.h"
 #include "util/iostat.h"
 #include "util/pmu-hybrid.h"
- #include "util/topdown.h"
 #include "asm/bug.h"
 
 #include <linux/time64.h>
-- 
2.20.1.7.g153144c


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

* Re: [PATCH -next] perf stat: Remove duplicated include in builtin-stat.c
  2022-08-04  0:52 [PATCH -next] perf stat: Remove duplicated include in builtin-stat.c Yang Li
@ 2022-08-04 15:32 ` Ian Rogers
  2022-08-12 19:52   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Rogers @ 2022-08-04 15:32 UTC (permalink / raw)
  To: Yang Li
  Cc: peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa,
	namhyung, linux-perf-users, linux-kernel, Abaci Robot

On Wed, Aug 3, 2022 at 5:52 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> util/topdown.h is included twice in builtin-stat.c,
> remove one of them.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1818
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Tested-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> ---
>  tools/perf/builtin-stat.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
> index 3d22543fc305..e326226656e4 100644
> --- a/tools/perf/builtin-stat.c
> +++ b/tools/perf/builtin-stat.c
> @@ -71,7 +71,6 @@
>  #include "util/bpf_counter.h"
>  #include "util/iostat.h"
>  #include "util/pmu-hybrid.h"
> - #include "util/topdown.h"
>  #include "asm/bug.h"
>
>  #include <linux/time64.h>
> --
> 2.20.1.7.g153144c
>

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

* Re: [PATCH -next] perf stat: Remove duplicated include in builtin-stat.c
  2022-08-04 15:32 ` Ian Rogers
@ 2022-08-12 19:52   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-08-12 19:52 UTC (permalink / raw)
  To: Ian Rogers
  Cc: Yang Li, peterz, mingo, mark.rutland, alexander.shishkin, jolsa,
	namhyung, linux-perf-users, linux-kernel, Abaci Robot

Em Thu, Aug 04, 2022 at 08:32:22AM -0700, Ian Rogers escreveu:
> On Wed, Aug 3, 2022 at 5:52 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
> >
> > util/topdown.h is included twice in builtin-stat.c,
> > remove one of them.
> >
> > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1818
> > Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> 
> Tested-by: Ian Rogers <irogers@google.com>

Thanks, applied.

- Arnaldo

 
> Thanks,
> Ian
> 
> > ---
> >  tools/perf/builtin-stat.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
> > index 3d22543fc305..e326226656e4 100644
> > --- a/tools/perf/builtin-stat.c
> > +++ b/tools/perf/builtin-stat.c
> > @@ -71,7 +71,6 @@
> >  #include "util/bpf_counter.h"
> >  #include "util/iostat.h"
> >  #include "util/pmu-hybrid.h"
> > - #include "util/topdown.h"
> >  #include "asm/bug.h"
> >
> >  #include <linux/time64.h>
> > --
> > 2.20.1.7.g153144c
> >

-- 

- Arnaldo

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

end of thread, other threads:[~2022-08-12 19:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-04  0:52 [PATCH -next] perf stat: Remove duplicated include in builtin-stat.c Yang Li
2022-08-04 15:32 ` Ian Rogers
2022-08-12 19:52   ` Arnaldo Carvalho de Melo

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.