cpuidle: haltpoll: Add trace points for guest_halt_poll_ns grow/shrink
authorEiichi Tsukata <eiichi.tsukata@nutanix.com>
Fri, 27 May 2022 00:53:45 +0000 (00:53 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Jun 2022 14:01:35 +0000 (16:01 +0200)
commit0da11bf0cab9029db8b85e48d962ff05c00a4faa
tree0edcbbfee8c88215fb27eddd9f4f24a7e03ddbd1
parentb13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3
cpuidle: haltpoll: Add trace points for guest_halt_poll_ns grow/shrink

Add trace points as are implemented in KVM host halt polling.
This helps tune guest halt polling params.

Signed-off-by: Eiichi Tsukata <eiichi.tsukata@nutanix.com>
Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/haltpoll.c
include/trace/events/power.h