Bug 449522 - Context menu for HTML5 <video> elements. r=gavin, ui-r=boriss
[wine-gecko.git] / js / src / javascript-trace.d
blob258c6cd2e0570fc28f7b4cf137ef9e8e3657663b
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
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/
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.
15 * Copyright (C) 2007 Sun Microsystems, Inc. All Rights Reserved.
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.
29 * ***** END LICENSE BLOCK ***** */
32 * javascript provider probes
34 * function-entry (filename, classname, funcname)
35 * function-info (filename, classname, funcname, lineno,
36 * runfilename, runlineno)
37 * function-args (filename, classname, funcname, argc, argv, argv0,
38 * argv1, argv2, argv3, argv4)
39 * function-rval (filename, classname, funcname, lineno, rval, rval0)
40 * function-return (filename, classname, funcname)
41 * object-create-start (filename, classname)
42 * object-create (filename, classname, *object, rlineno)
43 * object-create-done (filename, classname)
44 * object-finalize (NULL, classname, *object)
45 * execute-start (filename, lineno)
46 * execute-done (filename, lineno)
49 provider javascript {
50 probe function__entry(char *, char *, char *);
51 probe function__info(char *, char *, char *, int, char *, int);
52 probe function__args(char *, char *, char *, int, void *, void *, void *,
53 void *, void *, void *);
54 probe function__rval(char *, char *, char *, int, void *, void *);
55 probe function__return(char *, char *, char *);
56 probe object__create__start(char *, char *);
57 probe object__create__done(char *, char *);
58 /* XXX must use unsigned longs here instead of uintptr_t for OS X
59 (Apple radar: 5194316 & 5565198) */
60 probe object__create(char *, char *, unsigned long, int);
61 probe object__finalize(char *, char *, unsigned long);
62 probe execute__start(char *, int);
63 probe execute__done(char *, int);
67 #pragma D attributes Unstable/Unstable/Common provider mozilla provider
68 #pragma D attributes Private/Private/Unknown provider mozilla module
69 #pragma D attributes Private/Private/Unknown provider mozilla function
70 #pragma D attributes Unstable/Unstable/Common provider mozilla name
71 #pragma D attributes Unstable/Unstable/Common provider mozilla args