/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/js/javascript-trace.d

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · D · 73 lines · 14 code · 4 blank · 55 comment · 0 complexity · 9d1a53a3eac5cffce66a2929163f9a69 MD5 · raw file

  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3. * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4. *
  5. * The contents of this file are subject to the Mozilla Public License Version
  6. * 1.1 (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. * http://www.mozilla.org/MPL/
  9. *
  10. * Software distributed under the License is distributed on an "AS IS" basis,
  11. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12. * for the specific language governing rights and limitations under the
  13. * License.
  14. *
  15. * Copyright (C) 2007 Sun Microsystems, Inc. All Rights Reserved.
  16. *
  17. * Alternatively, the contents of this file may be used under the terms of
  18. * either the GNU General Public License Version 2 or later (the "GPL"), or
  19. * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  20. * in which case the provisions of the GPL or the LGPL are applicable instead
  21. * of those above. If you wish to allow use of your version of this file only
  22. * under the terms of either the GPL or the LGPL, and not to allow others to
  23. * use your version of this file under the terms of the MPL, indicate your
  24. * decision by deleting the provisions above and replace them with the notice
  25. * and other provisions required by the GPL or the LGPL. If you do not delete
  26. * the provisions above, a recipient may use your version of this file under
  27. * the terms of any one of the MPL, the GPL or the LGPL.
  28. *
  29. * ***** END LICENSE BLOCK ***** */
  30. /*
  31. * javascript provider probes
  32. *
  33. * function-entry (filename, classname, funcname)
  34. * function-info (filename, classname, funcname, lineno,
  35. * runfilename, runlineno)
  36. * function-args (filename, classname, funcname, argc, argv, argv0,
  37. * argv1, argv2, argv3, argv4)
  38. * function-rval (filename, classname, funcname, lineno, rval, rval0)
  39. * function-return (filename, classname, funcname)
  40. * object-create-start (filename, classname)
  41. * object-create (filename, classname, *object, rlineno)
  42. * object-create-done (filename, classname)
  43. * object-finalize (NULL, classname, *object)
  44. * execute-start (filename, lineno)
  45. * execute-done (filename, lineno)
  46. */
  47. provider javascript {
  48. probe function__entry(char *, char *, char *);
  49. probe function__info(char *, char *, char *, int, char *, int);
  50. probe function__args(char *, char *, char *, int, void *, void *, void *,
  51. void *, void *, void *);
  52. probe function__rval(char *, char *, char *, int, void *, void *);
  53. probe function__return(char *, char *, char *);
  54. probe object__create__start(char *, char *);
  55. probe object__create__done(char *, char *);
  56. /* XXX must use unsigned longs here instead of uintptr_t for OS X
  57. (Apple radar: 5194316 & 5565198) */
  58. probe object__create(char *, char *, unsigned long, int);
  59. probe object__finalize(char *, char *, unsigned long);
  60. probe execute__start(char *, int);
  61. probe execute__done(char *, int);
  62. };
  63. /*
  64. #pragma D attributes Unstable/Unstable/Common provider mozilla provider
  65. #pragma D attributes Private/Private/Unknown provider mozilla module
  66. #pragma D attributes Private/Private/Unknown provider mozilla function
  67. #pragma D attributes Unstable/Unstable/Common provider mozilla name
  68. #pragma D attributes Unstable/Unstable/Common provider mozilla args
  69. */