forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In
stirling/core/connector_context.h
: add EverythingLocalContext
…
…to trace short lived processes. (pixie-io#1157) Summary: We add `EverythingLocalContext` and a new method `UPIDIsInContext`. The new context type will always return true (for `UPIDIsInContext`) while other pre-existing context types will check the UPIDs list/map/set. Use of this new context type enables tracing short lived processes. In a subsequent PR, we will switch the `UnitConnector` to use this context type when now pid filtering is desired, which will enable the profiler binary to trace all processes and symbolize all stack traces. Type of change: /kind feature Test Plan: Existing tests pass. And existing tests continue to pass in subsequent PRs that switch-over `UnitConnector` and the profiler binary. Signed-off-by: Pete Stevenson <jps@pixielabs.ai>
- Loading branch information
Pete Stevenson
authored
Apr 25, 2023
1 parent
3002cc1
commit e1116fc
Showing
3 changed files
with
28 additions
and
3 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