perf intel-pt: Move synth_opts initialization earlier
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 30 Apr 2021 07:02:59 +0000 (10:02 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 May 2021 15:43:10 +0000 (12:43 -0300)
commit856ecd6ab4944b18fd3647c21ad8737d8e736025
treee6d5cb4f8b5a7fc233f104b53fa5ecb096ccceb2
parent18f4949427dc80bd9027001d28118cd8d555d890
perf intel-pt: Move synth_opts initialization earlier

Move synth_opts initialization earlier, so it can be used earlier.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210430070309.17624-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c