From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Howard Chu <howardchu95@gmail.com>
Cc: adrian.hunter@intel.com, irogers@google.com, jolsa@kernel.org,
kan.liang@linux.intel.com, namhyung@kernel.org,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: Re: [PATCH v3 5/8] perf test: Add landlock workload
Date: Fri, 28 Jun 2024 11:44:17 -0300 [thread overview]
Message-ID: <Zn7MQUmGaZNLkrqy@x1> (raw)
In-Reply-To: <20240624181345.124764-6-howardchu95@gmail.com>
On Tue, Jun 25, 2024 at 02:13:42AM +0800, Howard Chu wrote:
> We'll use it to add a regression test for the BTF augmentation of enum
> arguments for tracepoints in 'perf trace':
>
> root@x1:~# perf trace -e landlock_add_rule perf test -w landlock
> 0.000 ( 0.009 ms): perf/747160 landlock_add_rule(ruleset_fd: 11, rule_type: LANDLOCK_RULE_PATH_BENEATH, rule_attr: 0x7ffd8e258594, flags: 45) = -1 EINVAL (Invalid argument)
> 0.011 ( 0.002 ms): perf/747160 landlock_add_rule(ruleset_fd: 11, rule_type: LANDLOCK_RULE_NET_PORT, rule_attr: 0x7ffd8e2585a0, flags: 45) = -1 EINVAL (Invalid argument)
> root@x1:~#
>
> Committer notes:
>
> It was agreed on the discussion (see Link below) to shorten then name of
> the workload from 'landlock_add_rule' to 'landlock', and I moved it to a
> separate patch.
I'm not being able to apply this specific patch:
⬢[acme@toolbox perf-tools-next]$ b4 am -ctsl --cc-trailers 20240624181345.124764-1-howardchu95@gmail.com
Grabbing thread from lore.kernel.org/all/20240624181345.124764-1-howardchu95@gmail.com/t.mbox.gz
Checking for newer revisions
Grabbing search results from lore.kernel.org
Nothing matching that query.
Analyzing 10 messages in the thread
Checking attestation on all messages, may take a moment...
---
✓ [PATCH v3 1/8] perf trace: Fix iteration of syscall ids in syscalltbl->entries
+ Link: https://lore.kernel.org/r/20240624181345.124764-2-howardchu95@gmail.com
+ Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
✓ [PATCH v3 2/8] perf trace: BTF-based enum pretty printing for syscall args
+ Link: https://lore.kernel.org/r/20240624181345.124764-3-howardchu95@gmail.com
✓ [PATCH v3 3/8] perf trace: Augment non-syscall tracepoints with enum arguments with BTF
+ Link: https://lore.kernel.org/r/20240624181345.124764-4-howardchu95@gmail.com
✓ [PATCH v3 4/8] perf trace: Filter enum arguments with enum names
+ Link: https://lore.kernel.org/r/20240624181345.124764-5-howardchu95@gmail.com
✓ [PATCH v3 5/8] perf test: Add landlock workload
+ Link: https://lore.kernel.org/r/20240624181345.124764-6-howardchu95@gmail.com
✓ [PATCH v3 6/8] perf test trace_btf_enum: Add regression test for the BTF augmentation of enums in 'perf trace'
+ Link: https://lore.kernel.org/r/20240624181345.124764-7-howardchu95@gmail.com
✓ [PATCH v3 7/8] perf trace: Introduce trace__btf_scnprintf()
+ Link: https://lore.kernel.org/r/20240624181345.124764-8-howardchu95@gmail.com
✓ [PATCH v3 8/8] perf trace: Remove arg_fmt->is_enum, we can get that from the BTF type
+ Link: https://lore.kernel.org/r/20240624181345.124764-9-howardchu95@gmail.com
---
✓ Signed: DKIM/gmail.com
---
Total patches: 8
---
Cover: ./v3_20240625_howardchu95_perf_trace_augment_enum_arguments_with_btf.cover
Link: https://lore.kernel.org/r/20240624181345.124764-1-howardchu95@gmail.com
Base: not specified
git am ./v3_20240625_howardchu95_perf_trace_augment_enum_arguments_with_btf.mbx
⬢[acme@toolbox perf-tools-next]$ git am ./v3_20240625_howardchu95_perf_trace_augment_enum_arguments_with_btf.mbx
Applying: perf trace: Fix iteration of syscall ids in syscalltbl->entries
Applying: perf trace: BTF-based enum pretty printing for syscall args
Applying: perf trace: Augment non-syscall tracepoints with enum arguments with BTF
Applying: perf trace: Filter enum arguments with enum names
Applying: perf test: Add landlock workload
error: patch failed: tools/perf/tests/workloads/Build:6
error: tools/perf/tests/workloads/Build: patch does not apply
Patch failed at 0005 perf test: Add landlock workload
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
⬢[acme@toolbox perf-tools-next]$
I'm checking what is this, perhaps I'm using a more recent
perf-tools-next/perf-tools-next with changes to that
tools/perf/tests/workloads/Build file...
⬢[acme@toolbox perf-tools-next]$ git log --oneline -5 tools/perf/tests/workloads/Build
1dad99af1a8211e2 perf test: Make tests its own library
3dfc01fe9d12a1e8 perf test: Add 'datasym' test workload
a104f0ea99d846df perf test: Add 'brstack' test workload
39281709a6e2301a perf test: Add 'sqrtloop' test workload
41522f7442905814 perf test: Add 'leafloop' test workload
⬢[acme@toolbox perf-tools-next]$
Yeah, we need to rebase on top of what we have in
perf-tools-next/perf-tools-next, probably something minor.
- Arnaldo
next prev parent reply other threads:[~2024-06-28 14:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-24 18:13 [PATCH v3 0/8] perf trace: Augment enum arguments with BTF Howard Chu
2024-06-24 18:13 ` [PATCH v3 1/8] perf trace: Fix iteration of syscall ids in syscalltbl->entries Howard Chu
2024-06-24 18:13 ` [PATCH v3 2/8] perf trace: BTF-based enum pretty printing for syscall args Howard Chu
2024-06-28 19:14 ` Namhyung Kim
2024-06-24 18:13 ` [PATCH v3 3/8] perf trace: Augment non-syscall tracepoints with enum arguments with BTF Howard Chu
2024-06-24 18:13 ` [PATCH v3 4/8] perf trace: Filter enum arguments with enum names Howard Chu
2024-06-28 14:41 ` Arnaldo Carvalho de Melo
2024-06-28 14:44 ` Howard Chu
2024-06-24 18:13 ` [PATCH v3 5/8] perf test: Add landlock workload Howard Chu
2024-06-28 14:44 ` Arnaldo Carvalho de Melo [this message]
2024-06-28 14:50 ` Arnaldo Carvalho de Melo
2024-06-24 18:13 ` [PATCH v3 6/8] perf test trace_btf_enum: Add regression test for the BTF augmentation of enums in 'perf trace' Howard Chu
2024-06-24 18:13 ` [PATCH v3 7/8] perf trace: Introduce trace__btf_scnprintf() Howard Chu
2024-06-24 18:13 ` [PATCH v3 8/8] perf trace: Remove arg_fmt->is_enum, we can get that from the BTF type Howard Chu
2024-06-24 22:06 ` [PATCH v3 0/8] perf trace: Augment enum arguments with BTF Arnaldo Carvalho de Melo
2024-06-28 19:48 ` Namhyung Kim
[not found] ` <CAH0uvogL+QU+H4cjF7-bjMXmUKHaORKUy7uN7LVkrQBfwB4+tg@mail.gmail.com>
2024-07-04 19:23 ` Arnaldo Carvalho de Melo
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=Zn7MQUmGaZNLkrqy@x1 \
--to=acme@kernel.org \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=howardchu95@gmail.com \
--cc=irogers@google.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=namhyung@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).