Skip to contentSkip to conversation

Patch "rtla: Use str_has_prefix() for prefix checks" has been added to the 7.0-stable tree

DISCUSSION Tomas Glozar 1 participant 1 message May 19 1 message not in the archive Stable branch

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

po 18. 5. 2026 v 14:14 odesílatel Sasha Levin <[email protected]> napsal:

Quoted 8 lines

This is a note to let you know that I've just added the patch titled

rtla: Use str_has_prefix() for prefix checks

to the 7.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Quoted 7 lines

The filename of the patch is:
rtla-use-str_has_prefix-for-prefix-checks.patch
and it can be found in the queue-7.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

This patch breaks rtla build:

LINK /home/tglozar/dev/linux/tools/tracing/rtla/rtla
/usr/bin/ld: /tmp/cck91Z1j.ltrans0.ltrans.o: in function `trace_event_disable_trigger':
/home/tglozar/dev/linux/tools/tracing/rtla/src/trace.c:375: undefined reference to `str_has_prefix'
/usr/bin/ld: /tmp/cck91Z1j.ltrans0.ltrans.o: in function `procfs_is_workload_pid':
/home/tglozar/dev/linux/tools/tracing/rtla/src/utils.c:319: undefined reference to `str_has_prefix'
collect2: error: ld returned 1 exit status
make: *** [Makefile:94: /home/tglozar/dev/linux/tools/tracing/rtla/rtla] Error 1

as the required dependency:

commit 0f4bc9d67a643a6ea8b82faf724e44648b2c322d

Author: Wander Lairson Costa <[email protected]>
Date:   Mon Mar 9 16:46:23 2026 -0300

rtla: Add str_has_prefix() helper function

was not detected correctly and is not present in either the stable tree nor the stable queue. Either 0f4bc9d67a6 ("rtla: Add str_has_prefix() helper function") and its dependencies have to be picked as well, or this (and its dependencies) have to be dropped.

I can send a rebased version of 4bf4ef5292b9 ("rtla/trace: Fix write loop in trace_event_save_hist()") for 7.0-stable that does not depend on this, if that would help.

Tomas