Skip to contentSkip to conversation

perf stat: Remove duplicated include in builtin-stat.c

PATCH Applied Yang Li 3 participants 3 messages Aug 4, 2022 – Aug 12, 2022 perf events

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 perf stat: Remove duplicated include in builtin-stat.c

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

---
 tools/perf/builtin-stat.c | 1 -
 1 file changed, 1 deletion(-)
tools/perf/builtin-stat.c +0 -1
index 3d22543fc305..e326226656e4 100644
@@ -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>
Signature · 1 line
2.20.1.7.g153144c
reviewer Tested-by on v1 1/1
#1 lore raw
Quoted 7 lines · Yang Li

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

Thanks,
Ian

Quoted 19 lines
---
 tools/perf/builtin-stat.c | 1 -
 1 file changed, 1 deletion(-)
tools/perf/builtin-stat.c +0 -2
index 3d22543fc305..e326226656e4 100644
@@ -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

maintainer Applied
#2 lore raw

Em Thu, Aug 04, 2022 at 08:32:22AM -0700, Ian Rogers escreveu:

Quoted 10 lines · Yang Li
Quoted 7 lines

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

Thanks, applied.

- Arnaldo

Quoted 22 lines

Thanks,
Ian

Quoted 19 lines
---
 tools/perf/builtin-stat.c | 1 -
 1 file changed, 1 deletion(-)
tools/perf/builtin-stat.c +0 -2
index 3d22543fc305..e326226656e4 100644
@@ -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

Signature · 1 line
- Arnaldo