]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Introduce weak alternative to sched_getcpu()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 13:29:31 +0000 (10:29 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:34 +0000 (15:20 -0300)
commit6e09a48a0a26cbd0cf007465d6d352c28f64771f
treeb4ecc87ce9e43a34a2424159bd5e09e26fd2efb3
parent85b3edcb1a332f5d7e4a7f168ba9483edab87389
perf tools: Introduce weak alternative to sched_getcpu()

Which is just a wrapper for sys_getcpu and is not present in at least
musl libc.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-kblef7svmhr0g93kkx78envg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/arch/x86/include/asm/unistd_32.h
tools/arch/x86/include/asm/unistd_64.h
tools/perf/util/cloexec.c
tools/perf/util/util.h