Skip to content

xen/trace: Treewide API cleanup

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 20 repliesIn review

v3 from the cover letter

* Delete TRACE_PARAM64()

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7xen/trace: Introduce new APIxen/common/trace.c xen/include/xen/trace.h+35 -02 replies
2/7xen/credit2: Clean up trace handlingxen/common/sched/credit2.c+146 -1556 replies
3/7xen/rt: Clean up trace handlingxen/common/sched/rt.c+47 -521 reply
4/7xen/sched: Clean up trace handlingxen/common/sched/core.c xen/common/sched/credit.c xen/common/sched/null.c+97 -921 reply
5/7xen: Switch to new TRACE() APIxen/arch/x86/acpi/cpu_idle.c xen/arch/x86/compat.c xen/arch/x86/cpu/mwait-idle.c +16 more+144 -1324 replies
6/7xen/trace: Update final {__,}trace_var() users to the new APIxen/arch/x86/hvm/emulate.c xen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/svm/svm.c +9 more+31 -312 replies
7/7xen/trace: Drop old trace APIxen/arch/x86/hvm/emulate.c xen/arch/x86/hvm/hpet.c xen/arch/x86/hvm/hvm.c +10 more+3 -1802 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchJan BeulichDario FaggioliGeorge Dunlap
1/7R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b
6/7R-b R-b
7/7A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] xen/trace: Treewide API cleanup

Rework the trace API to unify it (remove the HVM specific obfuscation), and remove MISRA violations.

v3:
* Delete TRACE_PARAM64()

Andrew Cooper (7):
xen/trace: Introduce new API
xen/credit2: Clean up trace handling
xen/rt: Clean up trace handling
xen/sched: Clean up trace handling
xen: Switch to new TRACE() API
xen/trace: Update final {__,}trace_var() users to the new API xen/trace: Drop old trace API

 xen/arch/x86/acpi/cpu_idle.c           |  12 +-
 xen/arch/x86/compat.c                  |   4 +-
 xen/arch/x86/cpu/mwait-idle.c          |   6 +-
 xen/arch/x86/emul-i8254.c              |  14 +-
 xen/arch/x86/hvm/emulate.c             |  11 +-
 xen/arch/x86/hvm/hpet.c                |   7 +-
 xen/arch/x86/hvm/hvm.c                 |  20 +-
 xen/arch/x86/hvm/io.c                  |   1 -
 xen/arch/x86/hvm/rtc.c                 |  12 +-
 xen/arch/x86/hvm/svm/intr.c            |   7 +-
 xen/arch/x86/hvm/svm/svm.c             |  43 ++--
 xen/arch/x86/hvm/vlapic.c              |  52 +++--
 xen/arch/x86/hvm/vmx/intr.c            |   7 +-
 xen/arch/x86/hvm/vmx/vmx.c             |  57 +++--
 xen/arch/x86/hvm/vpic.c                |  13 +-
 xen/arch/x86/include/asm/hvm/trace.h   | 114 ----------
 xen/arch/x86/include/asm/hvm/vmx/vmx.h |   1 -
 xen/arch/x86/irq.c                     |  16 +-
 xen/arch/x86/mm/p2m-pod.c              |   8 +-
 xen/arch/x86/mm/p2m-pt.c               |   2 +-
 xen/arch/x86/mm/shadow/common.c        |   6 +-
 xen/arch/x86/mm/shadow/multi.c         |  10 +-
 xen/arch/x86/pv/trace.c                |  21 +-
 xen/arch/x86/traps.c                   |   2 +-
 xen/common/domain.c                    |   4 +-
 xen/common/grant_table.c               |   6 +-
 xen/common/memory.c                    |   2 +-
 xen/common/sched/core.c                |  56 +++--
 xen/common/sched/credit.c              |  70 +++---
 xen/common/sched/credit2.c             | 301 ++++++++++++-------------
 xen/common/sched/null.c                |  63 +++---
 xen/common/sched/rt.c                  |  99 ++++----
 xen/common/trace.c                     |   9 +-
 xen/drivers/cpufreq/utility.c          |   2 +-
 xen/include/xen/trace.h                |  67 ++----
 35 files changed, 493 insertions(+), 632 deletions(-)
 delete mode 100644 xen/arch/x86/include/asm/hvm/trace.h

base-commit: 62018f08708a5ff6ef8fc8ff2aaaac46e5a60430

Signature · 1 line
2.30.2