summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-03-04 15:42:49 +0200
committerIngo Molnar <mingo@kernel.org>2016-03-31 10:30:44 +0200
commit981a4cb380d3dff7010ce9f89618064a254eab8c (patch)
tree3f051a274bdb56b3cc11e234d34c3ea54f3b8707 /include/keys
parent66d219014a4ee47ad4ca2b9db5fe6547353e2a56 (diff)
downloadlinux-stable-981a4cb380d3dff7010ce9f89618064a254eab8c.tar.gz
linux-stable-981a4cb380d3dff7010ce9f89618064a254eab8c.tar.bz2
linux-stable-981a4cb380d3dff7010ce9f89618064a254eab8c.zip
perf/x86/intel/bts: Move transaction start/stop to start/stop callbacks
As per AUX buffer management requirement, AUX output has to happen between pmu::start and pmu::stop calls so that perf_event_stop() actually stops it and therefore perf can free the AUX data after it has called pmu::stop. This patch moves perf_aux_output_{begin,end} from bts_event_{add,del} to bts_event_{start,stop}. As a bonus, we get rid of bts_buffer_is_full(), which is already taken care of by perf_aux_output_begin() anyway. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Cc: vince@deater.net Link: http://lkml.kernel.org/r/1457098969-21595-6-git-send-email-alexander.shishkin@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions