News [LWN.net] [$] Representing the true signatures of kernel functions

News

LinuxBot

Member
Joined
Apr 25, 2017
Messages
6,328
Reaction score
93
Credits
-1,257
Optimizing compilers can, under some circumstances, infer when a parameter to a function is not needed, and remove it. This is all well and good until the kernel's tracing or BPF subsystems need information on how to call the function or where its arguments are stored. Alan Maguire and Yonghong Song spoke at the 2026 Linux Storage, Filesystem, Memory-Management, and BPF Summit about their work on recording information regarding changed function signatures in the kernel's BTF debugging information, to better support tracing such functions.

Source: https://lwn.net/Articles/1073762/

Aggregated via Linux News
 


Follow Linux.org

Members online


Top