commit | 4a9fd4e0effc94b9ec79250946a0054d4dd1a963 | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Fri May 26 11:17:33 2017 +0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Fri Jun 30 11:44:36 2017 -0300 |
tree | 32ac2de0a16631dbc2d8a28e0fb9476f1ec54d4f | |
parent | bbac88ed64436201d6b6f2b00177d58081d56707 [diff] |
perf intel-pt: Move code in intel_pt_synth_events() to simplify attr setting intel_pt_synth_events() uses the same attr structure to create each event. Move the code around a bit to simplify that. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1495786658-18063-33-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>