Using perf:
$ perf record -g binary
$ perf script | stackcollapse-perf.pl | rust-unmangle | flamegraph.pl > flame.svg
NOTE: See @GabrielMajeri's comments below about the
-g
option.
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Laptop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz | |
CPU Family: 0x6 |
#/etc/udev/rules.d/99-nvidia-ac.rules | |
# Stop nvidia_powerd on battery | |
SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="0",RUN+="/usr/bin/systemctl --no-block stop nvidia-powerd.service" | |
# Start nvidia_powerd on AC | |
SUBSYSTEM=="power_supply",ENV{POWER_SUPPLY_ONLINE}=="1",RUN+="/usr/bin/systemctl --no-block start nvidia-powerd.service" |
Using perf:
$ perf record -g binary
$ perf script | stackcollapse-perf.pl | rust-unmangle | flamegraph.pl > flame.svg
NOTE: See @GabrielMajeri's comments below about the
-g
option.
This patch adds support for the tablet mode switch sensors on | |
convertible devices where that sensor is managed by AMD SFH, like the | |
Asus Flow X13 and the Lenovo ThinkPad L13 Yoga Gen2 (AMD). | |
Co-developed-by: Ivan Dovgal <[email protected]> | |
Signed-off-by: Ivan Dovgal <[email protected]> | |
Co-developed-by: Luke D. Jones <[email protected]> | |
Signed-off-by: Luke D. Jones <[email protected]> | |
Signed-off-by: Adrian Freund <[email protected]> | |
--- |