forked from iovisor/ply
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix issue iovisor#16: don't enable all tracepoints
these changes use a more targeted approach in enabling/disabling probes. When enabling k[ret]probes we use the current pid to make the probe unique system-wide; this allows multiple instances of ply to run. Also remove global enable/disable of kprobes/tracepoints as it is not needed. Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
- Loading branch information
1 parent
b43b428
commit c3dff37
Showing
3 changed files
with
133 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ struct globals { | |
int debug:1; | ||
int dump:1; | ||
int timeout; | ||
pid_t self; | ||
|
||
size_t map_nelem; | ||
|
||
|
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