michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* michael@0: * javascript provider probes michael@0: * michael@0: * function-entry (filename, classname, funcname) michael@0: * function-return (filename, classname, funcname) michael@0: * object-create (classname, *object) michael@0: * object-finalize (NULL, classname, *object) michael@0: * execute-start (filename, lineno) michael@0: * execute-done (filename, lineno) michael@0: */ michael@0: michael@0: provider javascript { michael@0: probe function__entry(const char *, const char *, const char *); michael@0: probe function__return(const char *, const char *, const char *); michael@0: /* XXX must use unsigned longs here instead of uintptr_t for OS X michael@0: (Apple radar: 5194316 & 5565198) */ michael@0: probe object__create(const char *, unsigned long); michael@0: probe object__finalize(const char *, const char *, unsigned long); michael@0: probe execute__start(const char *, int); michael@0: probe execute__done(const char *, int); michael@0: }; michael@0: michael@0: /* michael@0: #pragma D attributes Unstable/Unstable/Common provider mozilla provider michael@0: #pragma D attributes Private/Private/Unknown provider mozilla module michael@0: #pragma D attributes Private/Private/Unknown provider mozilla function michael@0: #pragma D attributes Unstable/Unstable/Common provider mozilla name michael@0: */ michael@0: