perf tests: Add missing WRITE_ASS for new fields of perf_event_attr
authorSeonghyun Park <seonghyun0p@gmail.com>
Thu, 9 Nov 2017 14:07:04 +0000 (23:07 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:49:53 +0000 (14:49 -0300)
commit60dbcd2532dd7eec2f1e23a37b80ff85d8fb2953
treebc1fed16bdc6c82ce91c28d9b3e20beb0003d2bb
parent82806c3aae7496d6974429f3bd43ebeeef18b9b2
perf tests: Add missing WRITE_ASS for new fields of perf_event_attr

Include newly added fields 'mmap2', 'comm_exec', 'use_clockid', 'namespaces',
'write_backward' and 'context_switch' from perf_event_attr to store_event().

Signed-off-by: Seonghyun Park <seonghyun0p@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Seonghyun Park <seonghyun0p@gmail.com>
Link: http://lkml.kernel.org/n/tip-vltn7pqhcv8h5fmo9cthk87q@git.kernel.org
[ Fix log message to add 'write_backward', fix the patch to add 'use_clock_id' ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/attr.c