-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tprobes: ftrace: track last event timestamp per data source
The current implementation can be pessimistic if there are multiple concurrent data sources, one of which is only interested in sparse events (imagine a print filter and one matching event every minute, while the buffers are read - advancing the last read timestamp - multiple times per second). So instead, track the timestamp for each {data_source, cpu} combination separately. I've introduced a new proto field id to ease manual debugging should there be further issues introduced by this change. However for now, the processing will treat the two fields interchangeably. Bug: 344969928 Change-Id: Ia95e81053f4b26c3244ebab49e083d09ca757f88
- Loading branch information
Showing
6 changed files
with
91 additions
and
72 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
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
Oops, something went wrong.