perf evsel: Introduce perf_evsel__{str,int}val methods
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Sep 2012 22:24:23 +0000 (19:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Sep 2012 22:24:23 +0000 (19:24 -0300)
commit5555ded44698ed82ffa3d8742ec2994f695127bc
tree223aabd7b662345fbfc54caeb721c521fbe23968
parent0e9b07e574e544c1e840c59dabf39fef120620ae
perf evsel: Introduce perf_evsel__{str,int}val methods

Wrappers to the libtraceevent routines, so that we can further reduce
the surface contact perf builtins have with it.

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-rtmgzptvrifzjxqwb9vs6g1b@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
tools/perf/util/evsel.h