Skip to content

Instantly share code, notes, and snippets.

@tenderlove
Created March 1, 2012 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tenderlove/1953818 to your computer and use it in GitHub Desktop.
Save tenderlove/1953818 to your computer and use it in GitHub Desktop.
provider ruby {
probe function__entry(const char *, const char *, const char *, int);
probe function__return(const char *, const char *, const char *, int);
probe require__entry(const char *, const char *, int);
probe require__return(const char *);
probe load__entry(const char *, const char *, int);
probe load__return(const char *);
probe raise(const char *, const char *, int);
probe object__create__start(const char *, const char *, int);
probe object__create__done(const char *, const char *, int);
probe object__free(const char *);
/* Thread related probes. */
probe thread__start(int);
probe thread__end(int);
probe thread__start__locked(int);
probe thread__schedule();
probe thread__switch__begin();
probe thread__switch__end();
probe gc__begin();
probe gc__end();
probe gc__mark__begin();
probe gc__mark__end();
probe gc__sweep__begin();
probe gc__sweep__end();
probe line(const char *, int);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment