tools/power turbostat: on SIGINT: sample, print and exit
authorLen Brown <len.brown@intel.com>
Sat, 15 Jul 2017 18:57:37 +0000 (14:57 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 1 Jun 2018 16:13:04 +0000 (12:13 -0400)
commit8aa2ed0b2839718b9147bb0119a8012217d25a8b
tree5e5ce89d93ea8d180262cf0ed8f2fe78d6959414
parent3f44a5c62be2f2b15317942fa7bc4a810d2420aa
tools/power turbostat: on SIGINT: sample, print and exit

When running in interval-mode, catch interrupts
and print a final data record before exiting.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c