aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2024-07-08 10:01:48 -0700
committerAlexei Starovoitov <[email protected]>2024-07-08 10:01:48 -0700
commit06507c7536f747867d6d83d605af6bd753fec6d3 (patch)
treef411f868052894bcbab042447224918218fa6d30 /tools/perf/scripts/python
parentcedc12c5b57f7efa6dbebfb2b140e8675f5a2616 (diff)
parent16e86f2e8199cdb8789573c8784eb5c1cd478f13 (diff)
Merge branch 'small-api-fix-for-bpf_wq'
Benjamin Tissoires says: ==================== Small API fix for bpf_wq I realized this while having a map containing both a struct bpf_timer and a struct bpf_wq: the third argument provided to the bpf_wq callback is not the struct bpf_wq pointer itself, but the pointer to the value in the map. Which means that the users need to double cast the provided "value" as this is not a struct bpf_wq *. This is a change of API, but there doesn't seem to be much users of bpf_wq right now, so we should be able to go with this right now. Signed-off-by: Benjamin Tissoires <[email protected]> --- Changes in v2: - amended the selftests to retrieve something from the third argument of the callback - Link to v1: https://lore.kernel.org/r/[email protected] --- ==================== Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions