[GIT,PULL] perf tools fixes for v6.3

Message ID 20230309211346.904516-1-acme@kernel.org
State New
Headers
Series [GIT,PULL] perf tools fixes for v6.3 |

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v6.3-1-2023-03-09

Message

Arnaldo Carvalho de Melo March 9, 2023, 9:13 p.m. UTC
  Hi Linus,

	Please consider pulling,

Best regards,

- Arnaldo


The following changes since commit f9fa0778ee7349a9aa3d2ea10e9f2ab843a0b44e:

  perf tests stat_all_metrics: Change true workload to sleep workload for system wide check (2023-02-17 17:22:56 -0300)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v6.3-1-2023-03-09

for you to fetch changes up to 5b201a82cd9d0945d70562974ea6ad8e3b1861b5:

  perf tools: Add Adrian Hunter to MAINTAINERS as a reviewer (2023-03-06 17:23:18 -0300)

----------------------------------------------------------------
perf tools fixes for v6.3:

- Add Adrian Hunter to MAINTAINERS as a perf tools reviewer.

- Sync various tools/ copies of kernel headers with the kernel sources, this
  time trying to avoid first merging with upstream to then update but instead
  copy from upstream so that a merge is avoided and the end result after merging
  this pull request is the one expected, tools/perf/check-headers.sh (mostly)
  happy, less warnings while building tools/perf/.

- Fix counting when initial delay configured by setting
  perf_attr.enable_on_exec when starting workloads from the perf command line.

- Don't avoid emitting a PERF_RECORD_MMAP2 in 'perf inject --buildid-all' when
  that record comes with a build-id, otherwise we end up not being able to
  resolve symbols.

- Don't use comma as the CSV output separator the "stat+csv_output" test, as
  comma can appear on some tests as a modifier for an event, use @ instead,
  ditto for the JSON linter test.

- The offcpu test was looking for some bits being set on
  task_struct->prev_state without masking other bits not important for this
  specific 'perf test', fix it.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (12):
      tools arch x86: Sync the msr-index.h copy with the kernel sources
      tools headers svm: Sync svm headers with the kernel sources
      tools headers: Update the copy of x86's mem{cpy,set}_64.S used in 'perf bench'
      tools headers UAPI: Sync linux/prctl.h with the kernel sources
      tools headers: Synchronize {linux,vdso}/bits.h with the kernel sources
      tools include UAPI: Synchronize linux/fcntl.h with the kernel sources
      tools headers kvm: Sync uapi/{asm/linux} kvm.h headers with the kernel sources
      tools arch x86: Sync the msr-index.h copy with the kernel sources
      tools include UAPI: Sync linux/vhost.h with the kernel sources
      tools headers x86 cpufeatures: Sync with the kernel sources
      tools headers UAPI: Sync linux/perf_event.h with the kernel sources
      perf tools: Add Adrian Hunter to MAINTAINERS as a reviewer

Changbin Du (1):
      perf stat: Fix counting when initial delay configured

Ian Rogers (2):
      perf tests stat+csv_output: Switch CSV separator to @
      perf test: Avoid counting commas in json linter

Namhyung Kim (2):
      perf test: Fix offcpu test prev_state check
      perf inject: Fix --buildid-all not to eat up MMAP2

 MAINTAINERS                                        |  1 +
 tools/arch/arm64/include/uapi/asm/kvm.h            |  1 +
 tools/arch/x86/include/asm/cpufeatures.h           |  2 +-
 tools/arch/x86/include/asm/disabled-features.h     |  3 +-
 tools/arch/x86/include/asm/msr-index.h             | 31 ++++++++++++++++++++
 tools/arch/x86/include/asm/required-features.h     |  3 +-
 tools/arch/x86/include/uapi/asm/kvm.h              | 34 ++++++++++++++++++++--
 tools/arch/x86/include/uapi/asm/svm.h              |  6 ++++
 tools/arch/x86/lib/memcpy_64.S                     |  5 ++--
 tools/arch/x86/lib/memset_64.S                     |  4 ++-
 tools/include/linux/bits.h                         |  1 -
 tools/include/uapi/linux/fcntl.h                   |  1 +
 tools/include/uapi/linux/kvm.h                     |  9 ++++++
 tools/include/uapi/linux/perf_event.h              |  3 ++
 tools/include/uapi/linux/prctl.h                   |  6 ++++
 tools/include/uapi/linux/vhost.h                   |  8 +++++
 tools/include/vdso/bits.h                          |  1 +
 tools/perf/builtin-inject.c                        |  1 +
 tools/perf/builtin-stat.c                          | 15 ++++------
 .../perf/tests/shell/lib/perf_json_output_lint.py  | 29 +++++++++---------
 tools/perf/tests/shell/stat+csv_output.sh          | 23 ++++++++-------
 tools/perf/util/bpf_skel/off_cpu.bpf.c             |  2 +-
 tools/perf/util/stat.c                             |  6 +---
 tools/perf/util/stat.h                             |  1 -
 tools/perf/util/target.h                           | 12 ++++++++
 25 files changed, 154 insertions(+), 54 deletions(-)
  

Comments

pr-tracker-bot@kernel.org March 10, 2023, 4:58 p.m. UTC | #1
The pull request you sent on Thu,  9 Mar 2023 18:13:46 -0300:

> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v6.3-1-2023-03-09

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/49be4fb28109b86a8ffe117415c306389a394cb2

Thank you!