diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-11 10:49:45 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-14 12:50:27 -0300 |
commit | 5d8cf721cb13be92e96f22846e5bcd31040d4d0b (patch) | |
tree | 8ce0c6cb8e5c9ffa9a98686c5b8a149f66fc05ae /tools/perf/perf.c | |
parent | 09f6acf2eacad3a0f9a4b9f77e0b021f0cb45780 (diff) | |
download | linux-5d8cf721cb13be92e96f22846e5bcd31040d4d0b.tar.bz2 |
perf cpu_map: Use sysfs__read_int in get_{core,socket}_id()
We have the tools/lib/ sysfs__read_int() for that, avoid code
duplication.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-fqg6vt5ku72pbf54ljg6tmoy@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.c')
0 files changed, 0 insertions, 0 deletions