perf evlist: Remove cpus and threads arguments from perf_evlist__new()
It's almost always used with NULL for both arguments. Get rid of the arguments from the signature and use perf_evlist__set_maps() if needed. Signed-off-by:Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1362987798-24969-1-git-send-email-namhyung@kernel.org [ committer note: replaced spaces with tabs in some of the affected lines ] Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/builtin-record.c 1 addition, 1 deletiontools/perf/builtin-record.c
- tools/perf/builtin-stat.c 1 addition, 1 deletiontools/perf/builtin-stat.c
- tools/perf/builtin-top.c 1 addition, 1 deletiontools/perf/builtin-top.c
- tools/perf/builtin-trace.c 1 addition, 1 deletiontools/perf/builtin-trace.c
- tools/perf/tests/evsel-roundtrip-name.c 2 additions, 2 deletionstools/perf/tests/evsel-roundtrip-name.c
- tools/perf/tests/hists_link.c 1 addition, 1 deletiontools/perf/tests/hists_link.c
- tools/perf/tests/mmap-basic.c 3 additions, 1 deletiontools/perf/tests/mmap-basic.c
- tools/perf/tests/open-syscall-tp-fields.c 1 addition, 1 deletiontools/perf/tests/open-syscall-tp-fields.c
- tools/perf/tests/parse-events.c 1 addition, 1 deletiontools/perf/tests/parse-events.c
- tools/perf/tests/perf-record.c 1 addition, 1 deletiontools/perf/tests/perf-record.c
- tools/perf/util/evlist.c 2 additions, 3 deletionstools/perf/util/evlist.c
- tools/perf/util/evlist.h 1 addition, 2 deletionstools/perf/util/evlist.h
- tools/perf/util/header.c 2 additions, 2 deletionstools/perf/util/header.c
Loading
Please register or sign in to comment