perf python: Init perf_event_attr::size in perf.evsel constructor
authorJiri Olsa <jolsa@kernel.org>
Sun, 10 Jul 2016 11:07:55 +0000 (13:07 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 19:16:17 +0000 (16:16 -0300)
commitad4e3c04587c01c2e2b00c0e6a414dbededa6c55
treed7fc61b698fc662b354e9ceacaa7ef675506e54a
parent71fe1052af98fc5b615c067425aeb6fe39a0368c
perf python: Init perf_event_attr::size in perf.evsel constructor

Currently 0 is passed as perf_event_attr::size, which could block usage
of new features.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1468148882-10362-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/python.c