@@ -534,7 +534,7 @@ static int statsForEntry(rotating_node_t *node, void *arg)
534534}
535535
536536/*[clinic input]
537- @critical_section self
537+ @critical_section
538538_lsprof.Profiler.getstats
539539
540540 cls: defining_class
@@ -566,7 +566,7 @@ profiler_subentry objects:
566566
567567static PyObject *
568568_lsprof_Profiler_getstats_impl (ProfilerObject * self , PyTypeObject * cls )
569- /*[clinic end generated code: output=1806ef720019ee03 input=77dc00ff84d1ed5e ]*/
569+ /*[clinic end generated code: output=1806ef720019ee03 input=3dc69eb85ed73d91 ]*/
570570{
571571 statscollector_t collect ;
572572 collect .state = _PyType_GetModuleState (cls );
@@ -614,7 +614,7 @@ setBuiltins(ProfilerObject *pObj, int nvalue)
614614}
615615
616616/*[clinic input]
617- @critical_section self
617+ @critical_section
618618_lsprof.Profiler._pystart_callback
619619
620620 code: object
@@ -626,15 +626,15 @@ _lsprof.Profiler._pystart_callback
626626static PyObject *
627627_lsprof_Profiler__pystart_callback_impl (ProfilerObject * self , PyObject * code ,
628628 PyObject * instruction_offset )
629- /*[clinic end generated code: output=5fec8b7ad5ed25e8 input=c9ced1fe7182f358 ]*/
629+ /*[clinic end generated code: output=5fec8b7ad5ed25e8 input=b61a0e79cf1f8499 ]*/
630630{
631631 ptrace_enter_call ((PyObject * )self , (void * )code , code );
632632
633633 Py_RETURN_NONE ;
634634}
635635
636636/*[clinic input]
637- @critical_section self
637+ @critical_section
638638_lsprof.Profiler._pythrow_callback
639639
640640 code: object
@@ -648,15 +648,15 @@ static PyObject *
648648_lsprof_Profiler__pythrow_callback_impl (ProfilerObject * self , PyObject * code ,
649649 PyObject * instruction_offset ,
650650 PyObject * exception )
651- /*[clinic end generated code: output=0a32988919dfb94c input=3cd9554a8ebb13d7 ]*/
651+ /*[clinic end generated code: output=0a32988919dfb94c input=60c7f272206d3758 ]*/
652652{
653653 ptrace_enter_call ((PyObject * )self , (void * )code , code );
654654
655655 Py_RETURN_NONE ;
656656}
657657
658658/*[clinic input]
659- @critical_section self
659+ @critical_section
660660_lsprof.Profiler._pyreturn_callback
661661
662662 code: object
@@ -671,7 +671,7 @@ _lsprof_Profiler__pyreturn_callback_impl(ProfilerObject *self,
671671 PyObject * code ,
672672 PyObject * instruction_offset ,
673673 PyObject * retval )
674- /*[clinic end generated code: output=9e2f6fc1b882c51e input=4d33df394ab00b42 ]*/
674+ /*[clinic end generated code: output=9e2f6fc1b882c51e input=0ddcc1ec53faa928 ]*/
675675{
676676 ptrace_leave_call ((PyObject * )self , (void * )code );
677677
@@ -707,7 +707,7 @@ PyObject* get_cfunc_from_callable(PyObject* callable, PyObject* self_arg, PyObje
707707}
708708
709709/*[clinic input]
710- @critical_section self
710+ @critical_section
711711_lsprof.Profiler._ccall_callback
712712
713713 code: object
@@ -722,7 +722,7 @@ static PyObject *
722722_lsprof_Profiler__ccall_callback_impl (ProfilerObject * self , PyObject * code ,
723723 PyObject * instruction_offset ,
724724 PyObject * callable , PyObject * self_arg )
725- /*[clinic end generated code: output=152db83cabd18cad input=4c52bc9026278a19 ]*/
725+ /*[clinic end generated code: output=152db83cabd18cad input=2fc1e0630ee5e32b ]*/
726726{
727727 if (self -> flags & POF_BUILTINS ) {
728728 PyObject * cfunc = get_cfunc_from_callable (callable , self_arg , self -> missing );
@@ -738,7 +738,7 @@ _lsprof_Profiler__ccall_callback_impl(ProfilerObject *self, PyObject *code,
738738}
739739
740740/*[clinic input]
741- @critical_section self
741+ @critical_section
742742_lsprof.Profiler._creturn_callback
743743
744744 code: object
@@ -754,7 +754,7 @@ _lsprof_Profiler__creturn_callback_impl(ProfilerObject *self, PyObject *code,
754754 PyObject * instruction_offset ,
755755 PyObject * callable ,
756756 PyObject * self_arg )
757- /*[clinic end generated code: output=1e886dde8fed8fb0 input=7ef849de89bacd71 ]*/
757+ /*[clinic end generated code: output=1e886dde8fed8fb0 input=bdc246d6b5b8714a ]*/
758758{
759759 if (self -> flags & POF_BUILTINS ) {
760760 PyObject * cfunc = get_cfunc_from_callable (callable , self_arg , self -> missing );
@@ -786,7 +786,7 @@ static const struct {
786786
787787
788788/*[clinic input]
789- @critical_section self
789+ @critical_section
790790_lsprof.Profiler.enable
791791
792792 subcalls: bool = True
@@ -803,7 +803,7 @@ Start collecting profiling information.
803803static PyObject *
804804_lsprof_Profiler_enable_impl (ProfilerObject * self , int subcalls ,
805805 int builtins )
806- /*[clinic end generated code: output=1e747f9dc1edd571 input=b005b7cb7edcca88 ]*/
806+ /*[clinic end generated code: output=1e747f9dc1edd571 input=0b88115b1c796173 ]*/
807807{
808808 int all_events = 0 ;
809809 if (setSubcalls (self , subcalls ) < 0 || setBuiltins (self , builtins ) < 0 ) {
@@ -876,15 +876,15 @@ flush_unmatched(ProfilerObject *pObj)
876876
877877
878878/*[clinic input]
879- @critical_section self
879+ @critical_section
880880_lsprof.Profiler.disable
881881
882882Stop collecting profiling information.
883883[clinic start generated code]*/
884884
885885static PyObject *
886886_lsprof_Profiler_disable_impl (ProfilerObject * self )
887- /*[clinic end generated code: output=838cffef7f651870 input=456ec13900aff222 ]*/
887+ /*[clinic end generated code: output=838cffef7f651870 input=f7e4787cae20f7f6 ]*/
888888{
889889 if (self -> flags & POF_EXT_TIMER ) {
890890 PyErr_SetString (PyExc_RuntimeError ,
@@ -936,15 +936,15 @@ _lsprof_Profiler_disable_impl(ProfilerObject *self)
936936}
937937
938938/*[clinic input]
939- @critical_section self
939+ @critical_section
940940_lsprof.Profiler.clear
941941
942942Clear all profiling information collected so far.
943943[clinic start generated code]*/
944944
945945static PyObject *
946946_lsprof_Profiler_clear_impl (ProfilerObject * self )
947- /*[clinic end generated code: output=dd1c668fb84b1335 input=bdb218890fae64d7 ]*/
947+ /*[clinic end generated code: output=dd1c668fb84b1335 input=4aab219d5d7a9bec ]*/
948948{
949949 if (self -> flags & POF_EXT_TIMER ) {
950950 PyErr_SetString (PyExc_RuntimeError ,
@@ -986,7 +986,7 @@ profiler_dealloc(PyObject *op)
986986}
987987
988988/*[clinic input]
989- @critical_section self
989+ @critical_section
990990_lsprof.Profiler.__init__ as profiler_init
991991
992992 timer: object(c_default='NULL') = None
@@ -1005,7 +1005,7 @@ is, in seconds).
10051005static int
10061006profiler_init_impl (ProfilerObject * self , PyObject * timer , double timeunit ,
10071007 int subcalls , int builtins )
1008- /*[clinic end generated code: output=ac523803ec9f9df2 input=7022aae930773bba ]*/
1008+ /*[clinic end generated code: output=ac523803ec9f9df2 input=5add5fc72beb63ba ]*/
10091009{
10101010 if (setSubcalls (self , subcalls ) < 0 || setBuiltins (self , builtins ) < 0 ) {
10111011 return -1 ;
0 commit comments