Re: [PATCH v4 4/4] perf record: implement --affinity=node|cpu option

From: Alexey Budankov
Date: Tue Jan 22 2019 - 07:55:11 EST


On 21.01.2019 14:54, Jiri Olsa wrote:
> On Wed, Jan 16, 2019 at 12:23:56PM +0300, Alexey Budankov wrote:
>>
>> Implement --affinity=node|cpu option for the record mode defaulting
>> to system affinity mask bouncing.
>>
>> Signed-off-by: Alexey Budankov <alexey.budankov@xxxxxxxxxxxxxxx>
>> ---
>> changes in v3:
>> - adjusted indentation at record__parse_affinity()
>
> having problems to apply this one:
>
> Applying: perf record: allocate affinity masks
> Applying: perf record: bind the AIO user space buffers to nodes
> Applying: perf record: apply affinity masks when reading mmap buffers
> Applying: perf record: implement --affinity=node|cpu option
> error: corrupt patch at line 62
> Patch failed at 0004 perf record: implement --affinity=node|cpu option

It looks like Arnaldo's perf/core is progressing fast.

Currently I have this thing when building clean Arnaldo's perf/core:

CC tests/hists_output.o
In file included from util/session.c:26:
util/sample-raw.h:9:6: error: redundant redeclaration of perf_evlist__s390_sample_raw [-Werror=redundant-decls]
void perf_evlist__s390_sample_raw(struct perf_evlist *evlist,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from util/session.c:13:
util/evlist.h:321:6: note: previous declaration of perf_evlist__s390_sample_raw was here
void perf_evlist__s390_sample_raw(struct perf_evlist *evlist, union perf_event *event,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC tests/hists_cumulate.o
CC tests/python-use.o
CC util/s390-sample-raw.o

Thanks,
Alexey

>
>
> jirka
>