Created
January 29, 2019 09:28
-
-
Save fourdollars/69aff394eb3caad89ac3eeff0308de94 to your computer and use it in GitHub Desktop.
Using SystemTap to check the brightness level changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stap | |
probe module("video").function("acpi_video_device_lcd_set_level").call | |
{ | |
printf ("%s -> %s\n", thread_indent(1), probefunc()) | |
printf ("\t %s args [%s]\n", probefunc(), $$parms) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment