perf trace: Extract evsel contructor from perf_evlist__add_pgfault
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 19 Apr 2016 19:00:01 +0000 (16:00 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Apr 2016 15:49:17 +0000 (12:49 -0300)
commit0ae537cb35e63f6a61013e736a0557b83a0336ea
treef892c4c79212ea01eab13b1cbfa22e5f786bb07b
parent70a2cba972e5e4a5d850e4179381f1cd344c6828
perf trace: Extract evsel contructor from perf_evlist__add_pgfault

Prep work for next patches, where we'll need access to the created
evsels, to possibly configure callchains.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-2pcgsgnkgellhlcao4aub8tu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c