Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'probes-fixes-v6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull probes fix from Masami Hiramatsu:

- tracing/probes: Fix BTF structure member finder to find the members
which are placed after any anonymous union member correctly.

* tag 'probes-fixes-v6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing/probes: Fix to search structure fields correctly

+2 -2
+2 -2
kernel/trace/trace_btf.c
··· 91 91 for_each_member(i, type, member) { 92 92 if (!member->name_off) { 93 93 /* Anonymous union/struct: push it for later use */ 94 - type = btf_type_skip_modifiers(btf, member->type, &tid); 95 - if (type && top < BTF_ANON_STACK_MAX) { 94 + if (btf_type_skip_modifiers(btf, member->type, &tid) && 95 + top < BTF_ANON_STACK_MAX) { 96 96 anon_stack[top].tid = tid; 97 97 anon_stack[top++].offset = 98 98 cur_offset + member->offset;