]> git.baikalelectronics.ru Git - kernel.git/commit
perf evlist: Fix id pos in perf_evlist__open()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 Sep 2013 19:40:11 +0000 (22:40 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 9 Sep 2013 18:51:44 +0000 (15:51 -0300)
commit1eb47c9662e9167f0147a09f29b7a97b88b7fd18
tree8b7b21e9bfa11bfca1d4ea18e50bb114e8f93840
parentc280b225dff1d341cf37b4d2786b3b4ff959e8c8
perf evlist: Fix id pos in perf_evlist__open()

Ensure the id_pos is correct when perf_evlist__open() is used.

This fixes a problem introduced in 6694e89 that broke 'perf kvm stat
live' in that this tool wasn't updated to use the sample_type bits
setting helpers.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: David Ahern <dsahern@gmail.com>
Acked-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1378496412-2424-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c