diff options
Diffstat (limited to 'tools/perf/util/evlist.c')
| -rw-r--r-- | tools/perf/util/evlist.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index 7626bb49508..a199f1887be 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -38,13 +38,12 @@ void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus,  	evlist->workload.pid = -1;  } -struct perf_evlist *perf_evlist__new(struct cpu_map *cpus, -				     struct thread_map *threads) +struct perf_evlist *perf_evlist__new(void)  {  	struct perf_evlist *evlist = zalloc(sizeof(*evlist));  	if (evlist != NULL) -		perf_evlist__init(evlist, cpus, threads); +		perf_evlist__init(evlist, NULL, NULL);  	return evlist;  }  |