]> git.baikalelectronics.ru Git - kernel.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)
commit425f0329df7727b5e93a604f1b155a5f9a19d560
tree70aade536c1561191cf80e103c21475100e682b6
parenta7c525d8fe572eeab26b1c5f8d9896259238baf1
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