github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/third_party/phpspy/phpspy.h (about)

     1  #ifndef __PYROSCOPE_API_H
     2  #define __PYROSCOPE_API_H
     3  
     4  #include <sys/types.h>
     5  
     6  void phpspy_init_spy(const char *args);
     7  int phpspy_init_pid(int pid_i, void *err_ptr, int err_len);
     8  int phpspy_cleanup(int pid_i, void *err_ptr, int err_len);
     9  int phpspy_snapshot(int pid_i, void *ptr, int len, void *err_ptr, int err_len);
    10  
    11  #endif