diff options
| author | Menglong Dong <menglong8.dong@gmail.com> | 2025-06-21 12:55:01 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-06-23 09:21:07 -0700 |
| commit | c11f34e30088b25b7e240e12566fcf28f7ad07cc (patch) | |
| tree | b10329776a5408870f43c6fd4cea7eda1dab8535 /scripts/gdb/linux/utils.py | |
| parent | 99fe8af069a9fa5b09140518b1364e35713a642e (diff) | |
bpf: Make update_prog_stats() always_inline
The function update_prog_stats() will be called in the bpf trampoline.
In most cases, it will be optimized by the compiler by making it inline.
However, we can't rely on the compiler all the time, and just make it
__always_inline to reduce the possible overhead.
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Link: https://lore.kernel.org/r/20250621045501.101187-1-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
