xen: use tracing to replace ad-hoc debug/stats stuff
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | trace/xen: add skeleton for Xen trace eventsinclude/ | +13 | 0 replies | |
| 2/15 | xen/multicalls: remove debugfs statsarch/ arch/ | +4 | 0 replies | |
| 3/15 | xen/trace: set up tracepoint skeletonarch/ arch/ | +5 | 0 replies | |
| 4/15 | xen/trace: add multicall tracingarch/ arch/ arch/ +3 more | +241 | 3 replies | |
| 5/15 | xen/trace: add mmu tracepointsarch/ include/ | +247 | 1 reply | |
| 6/15 | xen/trace: add ptpage alloc/release tracepointsarch/ include/ | +41 | 1 reply | |
| 7/15 | xen/trace: add xen_pgd_(un)pin tracepointsarch/ include/ | +28 | 2 replies | |
| 8/15 | xen/trace: add segment desc tracingarch/ include/ | +90 | 2 replies | |
| 9/15 | xen/trace: add tlb flush tracepointsarch/ include/ | +56 | 5 replies | |
| 10/15 | xen/mmu: use extend_args for more mmuext updatesarch/ | +27 | 0 replies | |
| 11/15 | xen/mmu: tune pgtable alloc/releasearch/ | +42 | 0 replies | |
| 12/15 | xen/multicalls: disable MC_DEBUGarch/ | +2 | 0 replies | |
| 13/15 | xen/multicalls: add unlikely around slowpath in __xen_mc_entry()arch/ | +2 | 0 replies | |
| 14/15 | xen/multicall: special-case singleton hypercallsarch/ | +22 | 0 replies | |
| 15/15 | xen/multicall: move *idx fields to start of mc_bufferarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/15] xen: use tracing to replace ad-hoc debug/stats stuff
From: Jeremy Fitzhardinge <[email protected]>
Hi all,
This series (RFC for 3.1) introduces a set of trace events to keep track of what's going on within the Xen code. This allows us to replace a pile of ad-hoc debug and stats code.
The latter part of the series implements some improvements the better tracing highlighted, specifically to reduce hypercall overhead by making multicalls cheaper and to increase the multicall batch size.
Also at git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git upstream/xen-tracing2
Thanks,
J
Jeremy Fitzhardinge (15):
trace/xen: add skeleton for Xen trace events xen/multicalls: remove debugfs stats
xen/trace: set up tracepoint skeleton
xen/trace: add multicall tracing
xen/trace: add mmu tracepoints
xen/trace: add ptpage alloc/release tracepoints xen/trace: add xen_pgd_(un)pin tracepoints
xen/trace: add segment desc tracing
xen/trace: add tlb flush tracepoints
xen/mmu: use extend_args for more mmuext updates xen/mmu: tune pgtable alloc/release
xen/multicalls: disable MC_DEBUG
xen/multicalls: add unlikely around slowpath in __xen_mc_entry() xen/multicall: special-case singleton hypercalls xen/multicall: move *idx fields to start of mc_buffer
arch/x86/include/asm/xen/hypercall.h | 22 ++ arch/x86/include/asm/xen/trace_types.h | 18 + arch/x86/xen/Makefile | 2 +- arch/x86/xen/enlighten.c | 16 +- arch/x86/xen/mmu.c | 139 +++++++-- arch/x86/xen/multicalls.c | 169 +++-------- arch/x86/xen/multicalls.h | 6 + arch/x86/xen/trace.c | 61 ++++ include/trace/events/xen.h | 534 ++++++++++++++++++++++++++++++++ 9 files changed, 817 insertions(+), 150 deletions(-) create mode 100644 arch/x86/include/asm/xen/trace_types.h create mode 100644 arch/x86/xen/trace.c create mode 100644 include/trace/events/xen.h
Signature · 1 line
1.7.5.4