All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] perf, pt, coresight: AUX flags and VMX update
@ 2017-02-20 13:33 Alexander Shishkin
  2017-02-20 13:33 ` [PATCH 1/4] perf: Export AUX buffer helpers to modules Alexander Shishkin
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Alexander Shishkin @ 2017-02-20 13:33 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar
  Cc: linux-kernel, vince, eranian, Arnaldo Carvalho de Melo,
	Alexander Shishkin

Hi Peter,

With the vmm_exclusive=0, PT seems to be much more usable on BDW now. This
patchset does three things:
 * adds a flag to PERF_RECORD_AUX, signalling that a transaction has gaps
   in it (due to VMX root mode kicking in),
 * changes the AUX API slightly to allow for flags to be set at arbitrary
   points between perf_aux_output_begin() and perf_aux_output_end(),
 * restarts PT after VMXOFF.

I also stole Will's patch from another patchset that adds EXPORT_SYMBOL_GPL
to the AUX calls, which is not strictly relevant, but happens to touch the
same area and is long overdue. The AUX flags patch is also based on Will's
patch from that same context.

Alexander Shishkin (2):
  perf: Add a flag for partial AUX records
  perf/x86/intel/pt: Handle VMX better

Will Deacon (2):
  perf: Export AUX buffer helpers to modules
  perf: Keep AUX flags in the output handle

 arch/x86/events/intel/bts.c                      | 16 +++----
 arch/x86/events/intel/pt.c                       | 55 +++++++++++++-----------
 arch/x86/events/intel/pt.h                       |  1 -
 drivers/hwtracing/coresight/coresight-etb10.c    |  7 ++-
 drivers/hwtracing/coresight/coresight-etm-perf.c |  9 ++--
 drivers/hwtracing/coresight/coresight-priv.h     |  2 -
 drivers/hwtracing/coresight/coresight-tmc-etf.c  |  7 ++-
 include/linux/coresight.h                        |  2 +-
 include/linux/perf_event.h                       |  8 ++--
 include/uapi/linux/perf_event.h                  |  1 +
 kernel/events/ring_buffer.c                      | 38 +++++++++++-----
 11 files changed, 81 insertions(+), 65 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2017-03-21  6:51 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-20 13:33 [PATCH 0/4] perf, pt, coresight: AUX flags and VMX update Alexander Shishkin
2017-02-20 13:33 ` [PATCH 1/4] perf: Export AUX buffer helpers to modules Alexander Shishkin
2017-02-20 13:33 ` [PATCH 2/4] perf: Keep AUX flags in the output handle Alexander Shishkin
2017-02-20 17:01   ` kbuild test robot
2017-02-20 17:17     ` Alexander Shishkin
2017-02-20 20:42   ` Mathieu Poirier
2017-02-21 10:42   ` Will Deacon
2017-02-21 10:54     ` Alexander Shishkin
2017-03-16 11:22   ` [tip:perf/core] perf/core: " tip-bot for Will Deacon
2017-02-20 13:33 ` [PATCH 3/4] perf: Add a flag for partial AUX records Alexander Shishkin
2017-03-16 11:23   ` [tip:perf/core] perf/core: " tip-bot for Alexander Shishkin
2017-03-16 14:24     ` Vince Weaver
2017-02-20 13:33 ` [PATCH 4/4] perf/x86/intel/pt: Handle VMX better Alexander Shishkin
2017-03-16 11:24   ` [tip:perf/core] " tip-bot for Alexander Shishkin
2017-02-20 15:18 ` [PATCH 0/4] perf, pt, coresight: AUX flags and VMX update Alexander Shishkin
2017-02-20 15:39   ` Adrian Hunter
2017-02-20 16:09     ` Arnaldo Carvalho de Melo
2017-02-20 16:31       ` Alexander Shishkin
2017-03-16 16:41       ` Alexander Shishkin
2017-03-21  6:50         ` [tip:perf/core] tools lib api fs: Introduce sysfs__read_bool tip-bot for Alexander Shishkin
2017-03-21  6:51         ` [tip:perf/core] tools include: Sync {,tools/}include/uapi/linux/perf_event.h tip-bot for Alexander Shishkin
2017-03-21  6:51         ` [tip:perf/core] perf tools: Handle partial AUX records and print a warning tip-bot for Alexander Shishkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.