mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
python-3.6.zip added from Github
README.cosmo contains the necessary links.
This commit is contained in:
parent
75fc601ff5
commit
0c4c56ff39
4219 changed files with 1968626 additions and 0 deletions
26
third_party/python/Lib/test/dtracedata/gc.stp
vendored
Normal file
26
third_party/python/Lib/test/dtracedata/gc.stp
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
global tracing
|
||||
|
||||
probe process.mark("function__entry")
|
||||
{
|
||||
funcname = user_string($arg2);
|
||||
|
||||
if (funcname == "start") {
|
||||
tracing = 1;
|
||||
}
|
||||
}
|
||||
|
||||
probe process.mark("gc__start"), process.mark("gc__done")
|
||||
{
|
||||
if (tracing) {
|
||||
printf("%d\t%s:%ld\n", gettimeofday_us(), $$name, $arg1);
|
||||
}
|
||||
}
|
||||
|
||||
probe process.mark("function__return")
|
||||
{
|
||||
funcname = user_string($arg2);
|
||||
|
||||
if (funcname == "start") {
|
||||
tracing = 0;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue