aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2023-05-22 16:27:17 -0500
committerBjorn Helgaas <[email protected]>2023-05-24 11:49:50 -0500
commit5054133a88622943783e370ede795e725f39a485 (patch)
treedea58e5bc72cd66bd4a052935d838ad03c525719 /tools/perf/util/trace-event-scripting.c
parentac9a78681b921877518763ba0e89202254349d1b (diff)
PCI: pciehp: Simplify Attention Button logging
Previously, pressing the Attention Button always logged two lines, the first from pciehp_ist() and the second from pciehp_handle_button_press(): Attention button pressed Powering on due to button press Since pciehp_handle_button_press() always logs the more detailed message, remove the generic "Attention button pressed" message. Reword the pciehp_handle_button_press() to be of the form: Button press: will power on in 5 sec Button press: will power off in 5 sec Button press: canceling request to power on Button press: canceling request to power off Button press: ignoring invalid state %#x Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Lukas Wunner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions