<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-kernel/perf, branch walnascar</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=walnascar</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=walnascar'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-02-27T10:55:17+00:00</updated>
<entry>
<title>perf: enable zstd in default PACKAGECONFIG</title>
<updated>2025-02-27T10:55:17+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2025-02-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f35bf272e4b83bf1b9e2e1e9fb4bb1ce28c5e27f'/>
<id>urn:sha1:f35bf272e4b83bf1b9e2e1e9fb4bb1ce28c5e27f</id>
<content type='text'>
The following upstream commit:

  commit 44b44ffd5dcef03d273ad070d0b02a65a323f5f6
  Author: Leo Yan &lt;leo.yan@arm.com&gt;
  Date:   Sun Dec 15 22:12:22 2024 +0000

      perf build: Minor improvement for linking libzstd

      The zstd library will be automatically linked by detecting the feature
      libzstd.  It is no need to explicitly link it for static builds, so
      remove the redundant linkage.

      It is contradictory to detect the feature libelf-zstd while the build
      configuration NO_LIBZSTD is set.  Report an error for reminding users
      not to set NO_LIBZSTD.

      Signed-off-by: Leo Yan &lt;leo.yan@arm.com&gt;
      Tested-by: Namhyung Kim &lt;namhyung@kernel.org&gt;
      Acked-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
      Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
      Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;
      Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
      Cc: Eduard Zingerman &lt;eddyz87@gmail.com&gt;
      Cc: Guilherme Amadio &lt;amadio@gentoo.org&gt;
      Cc: Hao Luo &lt;haoluo@google.com&gt;
      Cc: Ian Rogers &lt;irogers@google.com&gt;
      Cc: James Clark &lt;james.clark@linaro.org&gt;
      Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;
      Cc: John Fastabend &lt;john.fastabend@gmail.com&gt;
      Cc: KP Singh &lt;kpsingh@kernel.org&gt;
      Cc: Kan Liang &lt;kan.liang@linux.intel.com&gt;
      Cc: Martin KaFai Lau &lt;martin.lau@linux.dev&gt;
      Cc: Nick Terrell &lt;terrelln@fb.com&gt;
      Cc: Quentin Monnet &lt;qmo@kernel.org&gt;
      Cc: Song Liu &lt;song@kernel.org&gt;
      Cc: Stanislav Fomichev &lt;sdf@google.com&gt;
      Cc: Yonghong Song &lt;yonghong.song@linux.dev&gt;
      Link: https://lore.kernel.org/r/20241215221223.293205-3-leo.yan@arm.com
      Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

Enforces that zstd must be enabled if libelfstd is detected.

Our build of perf and the other default features lead to libelf-zstd
being detected, and hence the build aborts when the features are
checked.

We can't condionally enable this for 6.14+ kernels due to the way that
the perf recipe works. The feature is minor and probably should have
already been in the defaults. To keep things simple, we just enable it
and will watch for any fallout.

(From OE-Core rev: c1b44f4e9f7d13673a93aa81be6a3e11aa9f742b)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta/meta-selftest: Fix variable assignment whitespace</title>
<updated>2025-02-01T13:42:34+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2025-01-31T12:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c2da016918d1fda5bf63d94b59863f5013e482f9'/>
<id>urn:sha1:c2da016918d1fda5bf63d94b59863f5013e482f9</id>
<content type='text'>
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in OE-Core to show this is definitely the preferred
formatting.

(From OE-Core rev: 30ea609d3357fb3de911f2f6a5e6856c151b976a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>perf: Fix a minor typo</title>
<updated>2024-12-16T22:38:35+00:00</updated>
<author>
<name>Leon Anavi</name>
<email>leon.anavi@konsulko.com</email>
</author>
<published>2024-12-16T19:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fa998ef0ea7fd17efce75d3f5039b8078c641798'/>
<id>urn:sha1:fa998ef0ea7fd17efce75d3f5039b8078c641798</id>
<content type='text'>
Fix a minor typo in a comment by replacing "nsures" with ensures.

(From OE-Core rev: c1f2df5616e9a14d1d6f2c993de8cc6204aea41f)

Signed-off-by: Leon Anavi &lt;leon.anavi@konsulko.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>perf: add PACKAGECONFIG for zstd</title>
<updated>2024-11-01T12:58:19+00:00</updated>
<author>
<name>Alexander Hirsch</name>
<email>alexander.hirsch@gin.de</email>
</author>
<published>2024-10-31T11:54:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8eff68ef23fc5df876964e563fb37ae63484e721'/>
<id>urn:sha1:8eff68ef23fc5df876964e563fb37ae63484e721</id>
<content type='text'>
perf record can use zstd when available to provide on the fly
compression.

(From OE-Core rev: 1db5bc41e6c672a0c2ac104ee52dfdfe66ac67cd)

Signed-off-by: Alexander Hirsch &lt;alexander.hirsch@gin.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>perf: Drop perl buildpaths skip</title>
<updated>2024-08-08T07:26:14+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2024-08-07T11:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=63acf50f1c90c13e8f3013a6feab03a2a0eb1e60'/>
<id>urn:sha1:63acf50f1c90c13e8f3013a6feab03a2a0eb1e60</id>
<content type='text'>
According to my tests, enabling perl in PACKAGECONFIG and building doesn't
show any buildpaths QA issue. Therefore drop this INSANE_SKIP as obsolete.

(From OE-Core rev: f5f48a53507d73051c77159f423e555f3634b5fa)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>icu/perf: Drop SPDX_S variable</title>
<updated>2024-07-14T12:03:35+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2024-07-11T15:34:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f20dfaeb1c31da45bd561f6d8c9d90d97cc6759f'/>
<id>urn:sha1:f20dfaeb1c31da45bd561f6d8c9d90d97cc6759f</id>
<content type='text'>
These were used by external layers and were needed before we had better
unpack instrumenation and the recent unpack directory changes. Drop
them as obsolete.

(From OE-Core rev: 8dae8778ee14caebea92acd0bebf28c5681e39f3)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake.conf: Further cleanup compiler optimization flags</title>
<updated>2024-07-13T22:28:30+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2024-07-12T06:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1cf0974ad242f7eb2815a4ef0e3e5b6507ca56ea'/>
<id>urn:sha1:1cf0974ad242f7eb2815a4ef0e3e5b6507ca56ea</id>
<content type='text'>
Move the -pipe option out of the optimization flags and directly into
the flags variables since we always use it now.

Also move the debug prefix mapping there to match the nativesdk case
which already does this.

Fix the documentation and two recipe usages to match the change.

(From OE-Core rev: 9badf68d78d995f7d5d4cf27e045f029fc6d4044)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>perf: drop newt from tui build requirements</title>
<updated>2024-06-24T11:43:40+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2024-06-19T08:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d14304384ebaab9efcbfb5146381dbe4578db52c'/>
<id>urn:sha1:d14304384ebaab9efcbfb5146381dbe4578db52c</id>
<content type='text'>
As the comment says this was used by very old kernels
(pre 3.10), and slang has been the only option for a
long time. Also, correct the option to disable slang TUI.

(From OE-Core rev: a36a84490b943e6f0638c0430ad1eac7740e9be3)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>perf: make bpf asm include arch conditional</title>
<updated>2024-04-08T22:33:32+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2024-04-05T13:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=532a10b1c59e07ec4e9dac9d8a201d58bf143805'/>
<id>urn:sha1:532a10b1c59e07ec4e9dac9d8a201d58bf143805</id>
<content type='text'>
To keep the perf source copying as small as possible, we can
further refine the arch/uapi copy to the single file that we
currently need.

To avoid a warning from the general perf source copy routine,
we make the .h conditional based on the architecture.

The supported architectures will not change often, so updating
this arch list is very minimal effort. Alternatively, we could
add a PERF_OPTIONAL_SRC variable and not warn if a file isn't
available for a given architecture.

(From OE-Core rev: 879b4a7d378b4d4d11fdda7921b8c47e4523a948)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>perf: add asm include required for v6.9+</title>
<updated>2024-04-08T22:33:32+00:00</updated>
<author>
<name>Max Krummenacher</name>
<email>max.krummenacher@toradex.com</email>
</author>
<published>2024-04-04T20:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8650a98b270b769f869fe796828083ff00463bb1'/>
<id>urn:sha1:8650a98b270b769f869fe796828083ff00463bb1</id>
<content type='text'>
Kernel commit 9eea8fafe33e ("libbpf: fix __arg_ctx type enforcement for
perf_event programs") added with 6.9-rc1 tools/include/uapi/asm/bpf_perf_event.h
which for arc, arm64, loongarch, riscv and s390 includes headers from
the arch/${ARCH}/... directories.

Which results in:

  ERROR: perf-1.0-r0 do_compile: oe_runmake failed
  | In file included from 1.0/perf-1.0/tools/include/uapi/linux/bpf_perf_event.h:11,
  |                  from libbpf.c:36:
  | perf/1.0/perf-1.0/tools/include/uapi/asm/bpf_perf_event.h:2:10: fatal error: ../../arch/arm64/include/uapi/asm/bpf_perf_event.h: No such file or directory
  |     2 | #include "../../arch/arm64/include/uapi/asm/bpf_perf_event.h"
  |       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We copy the uapi/asm directory to make sure the header file is
present.

(From OE-Core rev: d92e04c1cebd7d29a767d5862b713fa97d3e5d8e)

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
