diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-05-17 14:33:47 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-10 21:50:01 +0300 |
commit | 10981c8012bc9ad4119420716a5dccfe8043b596 (patch) | |
tree | a7874b33922c8d5a1fb7ec6d87cf10243cdfccab /lib/percpu_counter.c | |
parent | 53651b28cfb637ef604abc189d877948d1af39bb (diff) | |
download | linux-10981c8012bc9ad4119420716a5dccfe8043b596.tar.xz |
perf evsel: Remove superfluous nthreads system_wide setup in alloc_fd()
It's already setup in the only caller of this method in
perf_evsel__open(), right before calling perf_evsel__alloc_fd(), no need
to do it again.
Also it's better to have it out of the function before we move it to
libperf.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-1k8lhyjxfk7o8v4g3r7eyjc9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions