perf evlist: Pass third argument to ioctl explicitly
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 31 May 2012 05:51:46 +0000 (14:51 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 31 May 2012 14:39:16 +0000 (11:39 -0300)
commit55da80059de6c7533724fcd95f16c5d5618ecf4d
treeb7f1b59d3f8224fc2b520e81c7e8bc6e20141821
parenta59e64a13a927fb7530bef39e9f5e7de8268137e
perf evlist: Pass third argument to ioctl explicitly

The ioctl on perf event fd wants 3 arguments but we only passed 2. As
the only user of the functions is perf record and it calls them for
every event (regardless of group setting), just pass 0 for now.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1338443506-25009-3-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c