]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
perf evlist: Introduce add_newtp method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Oct 2012 14:40:22 +0000 (11:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Oct 2012 14:41:22 +0000 (11:41 -0300)
commit39876e7dd385e0f0a438ee0ab13cf75a4f5e0e3b
tree70aade536c1561191cf80e103c21475100e682b6
parentde332ac40f69f4f18111d53817b46da73e1fcbf9
perf evlist: Introduce add_newtp method

To reduce the boilerplate of creating and adding a new tracepoint to an
evlist.

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