summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/mem-events.c
diff options
context:
space:
mode:
authorLi Huafei <lihuafei1@huawei.com>2021-06-16 14:03:39 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-06-16 20:05:24 +0200
commit28b8e87abfb0308878b869af282dc8efbdab0f73 (patch)
tree1d0331df1cdc72bb89a73ccd5f14c895eb364011 /tools/perf/util/mem-events.c
parentperf evsel: Adjust hybrid event and global event mixed group (diff)
downloadlinux-28b8e87abfb0308878b869af282dc8efbdab0f73.tar.xz
linux-28b8e87abfb0308878b869af282dc8efbdab0f73.zip
perf mem-events: Remove duplicate #undef
Remove duplicate '#undef E'. Signed-off-by: Li Huafei <lihuafei1@huawei.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Zhang Jinhao <zhangjinhao2@huawei.com> Link: http://lore.kernel.org/lkml/20210616120339.219807-1-lihuafei1@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/mem-events.c')
-rw-r--r--tools/perf/util/mem-events.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/mem-events.c b/tools/perf/util/mem-events.c
index f38c0da9e698..f0e75df72b80 100644
--- a/tools/perf/util/mem-events.c
+++ b/tools/perf/util/mem-events.c
@@ -26,8 +26,6 @@ static struct perf_mem_event perf_mem_events[PERF_MEM_EVENTS__MAX] = {
};
#undef E
-#undef E
-
static char mem_loads_name[100];
static bool mem_loads_name__init;