public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
	Clark Williams <williams@redhat.com>,
	Kate Carcia <kcarcia@redhat.com>,
	linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Changbin Du <changbin.du@huawei.com>,
	Ian Rogers <irogers@google.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [GIT PULL] perf tools fixes for v6.3
Date: Thu,  9 Mar 2023 18:13:46 -0300	[thread overview]
Message-ID: <20230309211346.904516-1-acme@kernel.org> (raw)

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(-)

             reply	other threads:[~2023-03-09 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09 21:13 Arnaldo Carvalho de Melo [this message]
2023-03-10 16:58 ` [GIT PULL] perf tools fixes for v6.3 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230309211346.904516-1-acme@kernel.org \
    --to=acme@kernel.org \
    --cc=acme@redhat.com \
    --cc=changbin.du@huawei.com \
    --cc=irogers@google.com \
    --cc=jolsa@kernel.org \
    --cc=kcarcia@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=williams@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox