Skip to content

redhat: kernel.spec: add missing sound/soc/sof/sof-audio.h to kernel-devel package

Jaroslav Kysela requested to merge jkysela/kernel-ark:sof-trace-hdr into os-build

Header file include/trace/events/sof.h includes sound/soc/sof/sof-audio.h file. Add this missing file to the package.

Related RHEL 9 MR: redhat/centos-stream/src/kernel/centos-stream-9!4481

From reporter:

el9 x86_64 # stap -vp4 -e 'probe kernel.trace("sof:sof_ipc3_period_elapsed_position") { log("hey") }'
Pass 1: parsed user script and 493 library scripts using 136516virt/108532res/15232shr/92692data kb, in 140usr/20sys/158real ms.
Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 140256virt/113856res/16636shr/96432data kb, in 90usr/140sys/294real ms.
Pass 3: translated to C into "/tmp/stapvmntvy/stap_c4159a402ee6fb0812817fb416ea7ad0_1055_src.c" using 140256virt/113856res/16636shr/96432data kb, in 0usr/0sys/0real ms.
In file included from /tmp/stapvmntvy/stap_c4159a402ee6fb0812817fb416ea7ad0_1055_aux_0.c:10:
./include/trace/events/sof.h:16:10: fatal error: ../../../sound/soc/sof/sof-audio.h: No such file or directory
   16 | #include "../../../sound/soc/sof/sof-audio.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Merge request reports