perf record: Combine some auxtrace initialization into a single function
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 6 Mar 2018 09:13:12 +0000 (11:13 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 7 Mar 2018 13:22:26 +0000 (10:22 -0300)
commit4b5ea3bd674f707180b0e8c4f514d30e49f293b3
treed087280d3a48ef2995740cba9607e7e74f51933d
parent99a3c3a91382a7e5e841a98467a8409b47b540f0
perf record: Combine some auxtrace initialization into a single function

In preparation for adding AUX area sampling support, combine some
auxtrace initialization into a single function.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1520327598-1317-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c