perf tools: Add fallback versions for CPU_{OR,EQUAL}()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Feb 2019 18:02:56 +0000 (15:02 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:39 +0000 (10:00 -0300)
commitde20e3200c962213cdc67c0933f0ddaeb9285e62
treee35e4d36176b272f6aa50a27f456f75062e0453b
parentc44a8b44ca9f156a5395597109987d1c462ba655
perf tools: Add fallback versions for CPU_{OR,EQUAL}()

From the glibc sources, so that we can keep the tooling buildable in
older systems while using recent sched.h CPU_ macros.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/n/tip-hvm9ysmrjip75ebdzhzoh429@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/cpu-set-sched.h [new file with mode: 0644]