diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index efad78f811adcc70697b35d20baa08fe4ee247ec..501ea6e565f13a4a4817947957c79f15d805d130 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -93,10 +93,8 @@ struct perf_evsel { const char *unit; struct event_format *tp_format; off_t id_offset; - union { - void *priv; - u64 db_id; - }; + void *priv; + u64 db_id; struct cgroup_sel *cgrp; void *handler; struct cpu_map *cpus;