Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4550)

Delta Between Two Patch Sets: Modules/dtracemodule.c

Issue 13405: Add DTrace probes
Left Patch Set: Created 1 year, 5 months ago
Right Patch Set: Created 10 months, 2 weeks ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Makefile.pre.in ('k') | Modules/gcmodule.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #include "Python.h" 1 #include "Python.h"
2 2
3 static PyMethodDef dtrace_methods[] = { 3 static PyMethodDef dtrace_methods[] = {
4 {NULL, NULL} /* sentinel */ 4 {NULL, NULL} /* sentinel */
5 }; 5 };
6 6
7 7
8 static struct PyModuleDef dtracemodule = { 8 static struct PyModuleDef dtracemodule = {
9 PyModuleDef_HEAD_INIT, 9 PyModuleDef_HEAD_INIT,
10 "dtrace", 10 "dtrace",
(...skipping 19 matching lines...) Expand all
30 v = Py_False; 30 v = Py_False;
31 #endif 31 #endif
32 Py_INCREF(v); 32 Py_INCREF(v);
33 if (PyModule_AddObject(m, "available", v) < 0) { 33 if (PyModule_AddObject(m, "available", v) < 0) {
34 Py_DECREF(m); 34 Py_DECREF(m);
35 return NULL; 35 return NULL;
36 } 36 }
37 } 37 }
38 return m; 38 return m;
39 } 39 }
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7