-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add USDTs for task switch and allocation
- Loading branch information
Showing
5 changed files
with
31 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bpftrace | ||
|
||
BEGIN | ||
{ | ||
printf("Tracing Julia Task events... Hit Ctrl-C to end.\n"); | ||
} | ||
usdt:usr/lib/libjulia-internal.so:julia:rt__ctx__switch | ||
{ | ||
printf("Task switch from %x to %x (with PTLS %x)\n", arg0, arg1, arg2); | ||
} | ||
|
||
usdt:usr/lib/libjulia-internal.so:julia:rt__new__task | ||
{ | ||
printf("Task %x created by parent %x (with PTLS %x)\n", arg1, arg0, arg2); | ||
} |
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