power.txt 673 B

1234567891011121314151617
  1. The power tracer collects detailed information about C-state and P-state
  2. transitions, instead of just looking at the high-level "average"
  3. information.
  4. There is a helper script found in scrips/tracing/power.pl in the kernel
  5. sources which can be used to parse this information and create a
  6. Scalable Vector Graphics (SVG) picture from the trace data.
  7. To use this tracer:
  8. echo 0 > /sys/kernel/debug/tracing/tracing_enabled
  9. echo power > /sys/kernel/debug/tracing/current_tracer
  10. echo 1 > /sys/kernel/debug/tracing/tracing_enabled
  11. sleep 1
  12. echo 0 > /sys/kernel/debug/tracing/tracing_enabled
  13. cat /sys/kernel/debug/tracing/trace | \
  14. perl scripts/tracing/power.pl > out.sv