zend_dtrace.d 2.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Zend Engine |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) |
  6. +----------------------------------------------------------------------+
  7. | This source file is subject to version 2.00 of the Zend license, |
  8. | that is bundled with this package in the file LICENSE, and is |
  9. | available through the world-wide-web at the following url: |
  10. | http://www.zend.com/license/2_00.txt. |
  11. | If you did not receive a copy of the Zend license and are unable to |
  12. | obtain it through the world-wide-web, please send a note to |
  13. | license@zend.com so we can mail you a copy immediately. |
  14. +----------------------------------------------------------------------+
  15. | Authors: David Soria Parra <david.soriaparra@sun.com> |
  16. +----------------------------------------------------------------------+
  17. */
  18. provider php {
  19. probe exception__caught(char *classname);
  20. probe exception__thrown(char* classname);
  21. probe request__startup(char* request_file, char* request_uri, char* request_method);
  22. probe request__shutdown(char* request_file, char* request_uri, char* request_method);
  23. probe compile__file__entry(char * compile_file, char *compile_file_translated);
  24. probe compile__file__return(char *compile_file, char *compile_file_translated);
  25. probe error(char *errormsg, char *request_file, int lineno);
  26. probe execute__entry(char* request_file, int lineno);
  27. probe execute__return(char* request_file, int lineno);
  28. probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* scope);
  29. probe function__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
  30. };
  31. /*#pragma D attributes Private/Private/Unknown provider php module
  32. #pragma D attributes Private/Private/Unknown provider php function
  33. #pragma D attributes Evolving/Evolving/Common provider php provider */