aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tracing_struct.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2023-10-12 18:34:50 +0000
committerRafael J. Wysocki <[email protected]>2023-10-20 17:26:37 +0000
commit8c35b1f472533b0df1b8f1f1afcaf4395cdb2256 (patch)
tree00be096e40c553e3912fbc9ad62190d555b41421 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c
parentthermal: gov_step_wise: Fold update_passive_instance() into its caller (diff)
downloadkernel-8c35b1f472533b0df1b8f1f1afcaf4395cdb2256.tar.gz
kernel-8c35b1f472533b0df1b8f1f1afcaf4395cdb2256.zip
thermal: core: Pass trip pointer to governor throttle callback
Modify the governor .throttle() callback definition so that it takes a trip pointer instead of a trip index as its second argument, adjust the governors accordingly and update the core code invoking .throttle(). This causes the governors to become independent of the representation of the list of trips in the thermal zone structure. This change is not expected to alter the general functionality. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions