mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
ebpf: fix swapped toeplitz/indirection args in set_data trace
trace_ebpf_rss_set_data() passes its third and fourth arguments to
the toeplitz-ptr and indirection-ptr fields defined in trace-events.
ebpf_rss_set_all() passed indirections_table and toeplitz_key in the
opposite order, so tracing mislabeled the two pointers.
Match the argument order already used by trace_ebpf_rss_mmap().
Fixes: f5cae19d10 ("ebpf: improve trace event coverage to all key operations")
Signed-off-by: yujun <yujun@kylinos.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Message-ID: <20260629090116.266561-1-yujun@kylinos.cn>
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
This commit is contained in:
committed by
Philippe Mathieu-Daudé
parent
59b748ac6a
commit
4c883aee49
@@ -270,7 +270,7 @@ bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *config,
|
||||
|
||||
ebpf_rss_set_toepliz_key(ctx, toeplitz_key);
|
||||
|
||||
trace_ebpf_rss_set_data(ctx, config, indirections_table, toeplitz_key);
|
||||
trace_ebpf_rss_set_data(ctx, config, toeplitz_key, indirections_table);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user