<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-intel.git/recipes-kernel/perf, branch master</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-intel.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-intel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-intel.git/'/>
<updated>2026-03-20T13:06:09+00:00</updated>
<entry>
<title>perf: drop libbpf const qualifier workaround</title>
<updated>2026-03-20T13:06:09+00:00</updated>
<author>
<name>Yogesh Tyagi</name>
<email>yogesh.tyagi@intel.com</email>
</author>
<published>2026-03-20T13:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-intel.git/commit/?id=413f4312cd1fe3684f5a19db1dd97d0550bbef54'/>
<id>urn:sha1:413f4312cd1fe3684f5a19db1dd97d0550bbef54</id>
<content type='text'>
Remove the bbappend that applied const qualifier fixes to libbpf.c.

The workaround was required for older kernel versions where building
perf with -Werror triggered warnings due to discarded const qualifiers
from strstr() and strchr().

The issue is resolved in the currently used linux-intel 6.18 kernel,
making this workaround no longer necessary.

Signed-off-by: Yogesh Tyagi &lt;yogesh.tyagi@intel.com&gt;
</content>
</entry>
<entry>
<title>perf: Fix const qualifier warnings in libbpf.c</title>
<updated>2026-03-13T15:45:44+00:00</updated>
<author>
<name>Yogesh Tyagi</name>
<email>yogesh.tyagi@intel.com</email>
</author>
<published>2026-03-13T15:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-intel.git/commit/?id=1610818c25713c700f48c5428c151d0d02e4aa94'/>
<id>urn:sha1:1610818c25713c700f48c5428c151d0d02e4aa94</id>
<content type='text'>
Fix compilation warnings when building perf with -Werror where const
qualifiers are discarded from pointers returned by strstr() and
strchr() functions in libbpf.c.

Both strstr() and strchr() return 'const char *' when given
'const char *' input parameters. The receiving variables must
preserve this const qualification to maintain const-correctness
and avoid compiler warnings.

Errors fixed:
  libbpf.c:8179:13: error: assignment discards 'const' qualifier
    from pointer target type [-Werror=discarded-qualifiers]
  libbpf.c:11967:35: error: assignment discards 'const' qualifier
    from pointer target type [-Werror=discarded-qualifiers]

This is a workaround for kernel 6.12.x. The issue is already fixed
upstream in kernel 6.13+ and can be removed when the kernel is updated.

Signed-off-by: Yogesh Tyagi &lt;yogesh.tyagi@intel.com&gt;
</content>
</entry>
</feed>
