Skip to content
Commit b18685bc authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

kernel/sched: Clean up tracing hooks



The tracing fixes in commit e8719389 ("subsys: debug: tracing: Fix
thread tracing") were... not a readability win.  The point appears to
have been to put a tracing hook immediately before and after the
assignment to the _current pointer.  So do that in an abstracted
function and clean up _get_next_switch_handle() (which is a subtle and
important function already polluted with some unavoidable preprocessor
testing!)

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 42ed12a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment