<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/pydtrace.h, branch master</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-36842: Implement PEP 578 (GH-12613)</title>
<updated>2019-05-23T15:45:22+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2019-05-23T15:45:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184'/>
<id>b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184</id>
<content type='text'>
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010)</title>
<updated>2019-03-06T16:54:12+00:00</updated>
<author>
<name>Jeremy Kloth</name>
<email>jeremy.kloth@gmail.com</email>
</author>
<published>2019-03-06T16:54:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=edad38e3e05586ba58291f47756eb3fb808f5577'/>
<id>edad38e3e05586ba58291f47756eb3fb808f5577</id>
<content type='text'>
Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35059: Remove Py_STATIC_INLINE() macro (GH-10216)</title>
<updated>2018-10-29T13:49:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-29T13:49:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=542497aa9f71c664768c3d5b7398c03679d3a7e1'/>
<id>542497aa9f71c664768c3d5b7398c03679d3a7e1</id>
<content type='text'>
"static inline" should be used directly. Forcing the compiler to
inline is not recommended.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"static inline" should be used directly. Forcing the compiler to
inline is not recommended.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35059: Add Py_STATIC_INLINE() macro (GH-10093)</title>
<updated>2018-10-25T15:28:11+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-25T15:28:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=18618e652c56e61a134e596b315a13c7cb997a89'/>
<id>18618e652c56e61a134e596b315a13c7cb997a89</id>
<content type='text'>
* Add Py_STATIC_INLINE() macro to declare a "static inline" function.
  If the compiler supports it, try to always inline the function even if no
  optimization level was specified.
* Modify pydtrace.h to use Py_STATIC_INLINE() when WITH_DTRACE is
  not defined.
* Add an unit test on Py_DECREF() to make sure that
  _Py_NegativeRefcount() reports the correct filename.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add Py_STATIC_INLINE() macro to declare a "static inline" function.
  If the compiler supports it, try to always inline the function even if no
  optimization level was specified.
* Modify pydtrace.h to use Py_STATIC_INLINE() when WITH_DTRACE is
  not defined.
* Add an unit test on Py_DECREF() to make sure that
  _Py_NegativeRefcount() reports the correct filename.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31574: importlib dtrace (#3749)</title>
<updated>2017-09-29T22:53:19+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2017-09-29T22:53:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3d2b407da048b14ba6e5eb6079722a785d210590'/>
<id>3d2b407da048b14ba6e5eb6079722a785d210590</id>
<content type='text'>
Importlib was instrumented with two dtrace probes to profile import timing.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Importlib was instrumented with two dtrace probes to profile import timing.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>mark dtrace stubs as static inline; remove stubs</title>
<updated>2016-10-21T05:37:00+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-10-21T05:37:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4510e6de9d38987c5b00ce416da19fe9ffc2dde9'/>
<id>4510e6de9d38987c5b00ce416da19fe9ffc2dde9</id>
<content type='text'>
C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092)
We don't want these to have external visibility anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092)
We don't want these to have external visibility anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>add the usual extern C silliness to pydtrace.h</title>
<updated>2016-09-11T00:34:15+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-11T00:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=39e10616fbbb84e4ffbd24d1206dae030c06fa65'/>
<id>39e10616fbbb84e4ffbd24d1206dae030c06fa65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dummy dtrace probes are a good place to use inline functions</title>
<updated>2016-09-10T01:09:52+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-10T01:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=feb7edc153465fca68a8551081f2beb4cbb26d96'/>
<id>feb7edc153465fca68a8551081f2beb4cbb26d96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix dummy macro</title>
<updated>2016-09-10T00:46:24+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-10T00:46:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=dec2df3df321c3d6bed045d3125564006942b3d9'/>
<id>dec2df3df321c3d6bed045d3125564006942b3d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DTrace support: function calls, GC activity, line execution</title>
<updated>2016-09-10T00:37:37+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2016-09-10T00:37:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a785c87d6eacbed81543a8afe3cb098fabb9610a'/>
<id>a785c87d6eacbed81543a8afe3cb098fabb9610a</id>
<content type='text'>
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.

Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.

Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection

All of those might be added later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.

Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.

Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection

All of those might be added later.
</pre>
</div>
</content>
</entry>
</feed>
