Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Remove duplicate struct forward declarations

'struct evlist' has been declared at 10th line.

'struct comm' has been declared at 15th line.

Remove the duplicates

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kael_w@yeah.net
Link: http://lore.kernel.org/lkml/20210325043947.846093-1-wanjiabing@vivo.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Wan Jiabing and committed by
Arnaldo Carvalho de Melo
405e0701 e0542cac

-2
-1
tools/perf/util/metricgroup.h
··· 9 9 10 10 struct evlist; 11 11 struct evsel; 12 - struct evlist; 13 12 struct option; 14 13 struct rblist; 15 14 struct pmu_events_map;
-1
tools/perf/util/thread-stack.h
··· 16 16 struct ip_callchain; 17 17 struct symbol; 18 18 struct dso; 19 - struct comm; 20 19 struct perf_sample; 21 20 struct addr_location; 22 21 struct call_path;