diff options
| author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2024-12-03 18:37:26 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-05 18:41:06 -0800 |
| commit | dcf3827cde8621d2317a7f98e069adbdc2112982 (patch) | |
| tree | d7514094f318e4ffd4268c9e15e466c9ba05d1ec /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | bpf, xdp: constify some bpf_prog * function arguments (diff) | |
| download | linux-dcf3827cde8621d2317a7f98e069adbdc2112982.tar.gz linux-dcf3827cde8621d2317a7f98e069adbdc2112982.zip | |
xdp, xsk: constify read-only arguments of some static inline helpers
Lots of read-only helpers for &xdp_buff and &xdp_frame, such as getting
the frame length, skb_shared_info etc., don't have their arguments
marked with `const` for no reason. Add the missing annotations to leave
less place for mistakes and more for optimization.
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://patch.msgid.link/20241203173733.3181246-4-aleksander.lobakin@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
