perf evsel: Improve tracepoint constructor setup
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Sep 2012 15:28:26 +0000 (12:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Sep 2012 15:28:26 +0000 (12:28 -0300)
commit0b80f8b32f31f80e001fb6355fd86769555c4a3c
tree7cd416d7b770b9765f506e73ded95f30691798c3
parenta91f408e4435d4f572392295ee47756b6f5011c7
perf evsel: Improve tracepoint constructor setup

It needs to properly set the sample_type, sample_period and the KVM
related perf_event_attr fields.

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 <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-v9x3q9rv4caxtox7wtjpchq5@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
This page took 0.040568 seconds and 5 git commands to generate.