perf record: Implement --affinity=node|cpu option
authorAlexey Budankov <alexey.budankov@linux.intel.com>
Tue, 22 Jan 2019 17:52:03 +0000 (20:52 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Feb 2019 15:32:21 +0000 (12:32 -0300)
commitf4fe11b7bf7ff6a1ccf15d7a9484f0ff7d1e92ae
treeb38e446f5786c9a6e27e74f3a873d9d5f19f6a75
parentaf63147c1edacfb75a28885a7cd7e6f44e626164
perf record: Implement --affinity=node|cpu option

Implement --affinity=node|cpu option for the record mode defaulting
to system affinity mask bouncing.

Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/083f5422-ece9-10dd-8305-bf59c860f10f@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c