Skip to contentSkip to conversation

perf metric: Remove duplicate include

PATCH Applied YueHaibing 3 participants 3 messages Sep 15, 2020 – Sep 16, 2020 perf events

lore
Share & tools
lore

YueHaibing

author
#0 lore raw

PATCH 1/1 perf metric: Remove duplicate include

Remove duplicate header which is included twice.

---
 tools/perf/tests/parse-metric.c | 2 --
 1 file changed, 2 deletions(-)
tools/perf/tests/parse-metric.c +0 -2
index 23db8acc492d..b344decfb91b 100644
@@ -11,8 +11,6 @@
 #include "debug.h"
 #include "expr.h"
 #include "stat.h"
-#include <perf/cpumap.h>
-#include <perf/evlist.h>
 
 static struct pmu_event pme_test[] = {
 {
Signature · 1 line
2.17.1
maintainer Acked-by on v1 1/1
#1 lore raw

Hello,

Quoted 4 lines · YueHaibing

Remove duplicate header which is included twice.

Thanks
Namhyung

Quoted 21 lines
---
 tools/perf/tests/parse-metric.c | 2 --
 1 file changed, 2 deletions(-)
tools/perf/tests/parse-metric.c +0 -3
index 23db8acc492d..b344decfb91b 100644
@@ -11,8 +11,6 @@
 #include "debug.h"
 #include "expr.h"
 #include "stat.h"
-#include <perf/cpumap.h>
-#include <perf/evlist.h>
 
 static struct pmu_event pme_test[] = {
 {
--

2.17.1

maintainer Applied
#2 lore raw

Em Tue, Sep 15, 2020 at 11:51:22PM +0900, Namhyung Kim escreveu:

Quoted 9 lines

Hello,

Quoted 4 lines · YueHaibing

Remove duplicate header which is included twice.

Thanks, applied.

- Arnaldo

Quoted 25 lines

Thanks
Namhyung

Quoted 21 lines
---
 tools/perf/tests/parse-metric.c | 2 --
 1 file changed, 2 deletions(-)
tools/perf/tests/parse-metric.c +0 -3
index 23db8acc492d..b344decfb91b 100644
@@ -11,8 +11,6 @@
 #include "debug.h"
 #include "expr.h"
 #include "stat.h"
-#include <perf/cpumap.h>
-#include <perf/evlist.h>
 
 static struct pmu_event pme_test[] = {
 {
--

2.17.1

Signature · 1 line
- Arnaldo