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)
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>

No differences found