-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#5843 scheduler: Add direct thread switch marker (#6404)
Adds a new marker type TRACE_MARKER_TYPE_DIRECT_THREAD_SWITCH for use with custom kernel scheduling features where one thread directly switches to another on the same cpu. Refactors raw2trace marker processing code to allow a subclass to insert the new marker. Makes the raw2trace blocking syscall code virtual to allow a subclass to label custom syscalls as blocking. Given that the changes are used in separate code it is not simple to make a test of the raw2trace refactoring + virtual. For the marker: tests that use the marker will be forthcoming in scheduler_unit_tests. Issue: #5843
- Loading branch information
1 parent
8bdf01f
commit 11c57d1
Showing
4 changed files
with
95 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters