Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
context_tracking: Run vtime_user_enter/exit only when state == CONTEX…
…T_USER Only run vtime_user_enter, vtime_user_exit, and the user enter & exit trace points when we are entering or exiting user state, respectively. The KVM code in guest_enter and guest_exit already take care of calling vtime_guest_enter and vtime_guest_exit, respectively. The RCU code only distinguishes between "idle" and "not idle or kernel". There should be no need to add an additional (unused) state there. Reviewed-by: Paul E. McKenney <[email protected]> Signed-off-by: Rik van Riel <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Will deacon <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Luiz Capitulino <[email protected]> Cc: Paolo Bonzini <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
- Loading branch information