annotate src/os/solaris/dtrace/hotspot.d @ 1324:e392695de029

6935224: Adding new DTrace probes to work with Palantir Summary: Adding probes related to thread scheduling and class initialization Reviewed-by: kamg, never
author fparain
date Wed, 17 Mar 2010 11:01:05 +0100
parents a61af66fc99e
children c18cbe5936b8
rev   line source
duke@0 1 /*
duke@0 2 * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
duke@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 *
duke@0 5 * This code is free software; you can redistribute it and/or modify it
duke@0 6 * under the terms of the GNU General Public License version 2 only, as
duke@0 7 * published by the Free Software Foundation.
duke@0 8 *
duke@0 9 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 12 * version 2 for more details (a copy is included in the LICENSE file that
duke@0 13 * accompanied this code).
duke@0 14 *
duke@0 15 * You should have received a copy of the GNU General Public License version
duke@0 16 * 2 along with this work; if not, write to the Free Software Foundation,
duke@0 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 18 *
duke@0 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@0 20 * CA 95054 USA or visit www.sun.com if you need additional information or
duke@0 21 * have any questions.
duke@0 22 *
duke@0 23 */
duke@0 24
duke@0 25 provider hotspot {
duke@0 26 probe class__loaded(char*, uintptr_t, void*, uintptr_t);
duke@0 27 probe class__unloaded(char*, uintptr_t, void*, uintptr_t);
fparain@1324 28 probe class__initialization__required(char*, uintptr_t, void*, intptr_t,int);
fparain@1324 29 probe class__initialization__recursive(char*, uintptr_t, void*, intptr_t,int);
fparain@1324 30 probe class__initialization__concurrent(char*, uintptr_t, void*, intptr_t,int);
fparain@1324 31 probe class__initialization__erroneous(char*, uintptr_t, void*, intptr_t, int);
fparain@1324 32 probe class__initialization__super__failed(char*, uintptr_t, void*, intptr_t,int);
fparain@1324 33 probe class__initialization__clinit(char*, uintptr_t, void*, intptr_t,int);
fparain@1324 34 probe class__initialization__error(char*, uintptr_t, void*, intptr_t,int);
fparain@1324 35 probe class__initialization__end(char*, uintptr_t, void*, intptr_t,int);
duke@0 36 probe vm__init__begin();
duke@0 37 probe vm__init__end();
duke@0 38 probe vm__shutdown();
fparain@1324 39 probe vmops__request(char*, uintptr_t, int);
fparain@1324 40 probe vmops__begin(char*, uintptr_t, int);
fparain@1324 41 probe vmops__end(char*, uintptr_t, int);
duke@0 42 probe gc__begin(uintptr_t);
duke@0 43 probe gc__end();
duke@0 44 probe mem__pool__gc__begin(
duke@0 45 char*, uintptr_t, char*, uintptr_t,
duke@0 46 uintptr_t, uintptr_t, uintptr_t, uintptr_t);
duke@0 47 probe mem__pool__gc__end(
duke@0 48 char*, uintptr_t, char*, uintptr_t,
duke@0 49 uintptr_t, uintptr_t, uintptr_t, uintptr_t);
duke@0 50 probe thread__start(char*, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
duke@0 51 probe thread__stop(char*, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
fparain@1324 52 probe thread__sleep__begin(long long);
fparain@1324 53 probe thread__sleep__end(int);
fparain@1324 54 probe thread__yield();
fparain@1324 55 probe thread__park__begin(uintptr_t, int, long long);
fparain@1324 56 probe thread__park__end(uintptr_t);
fparain@1324 57 probe thread__unpark(uintptr_t);
duke@0 58 probe method__compile__begin(
duke@0 59 char*, uintptr_t, char*, uintptr_t, char*, uintptr_t, char*, uintptr_t);
duke@0 60 probe method__compile__end(
duke@0 61 char*, uintptr_t, char*, uintptr_t, char*, uintptr_t,
duke@0 62 char*, uintptr_t, uintptr_t);
duke@0 63 probe compiled__method__load(
duke@0 64 char*, uintptr_t, char*, uintptr_t, char*, uintptr_t, void*, uintptr_t);
duke@0 65 probe compiled__method__unload(
duke@0 66 char*, uintptr_t, char*, uintptr_t, char*, uintptr_t);
duke@0 67 probe monitor__contended__enter(uintptr_t, uintptr_t, char*, uintptr_t);
duke@0 68 probe monitor__contended__entered(uintptr_t, uintptr_t, char*, uintptr_t);
duke@0 69 probe monitor__contended__exit(uintptr_t, uintptr_t, char*, uintptr_t);
duke@0 70 probe monitor__wait(uintptr_t, uintptr_t, char*, uintptr_t, uintptr_t);
duke@0 71 probe monitor__waited(uintptr_t, uintptr_t, char*, uintptr_t);
duke@0 72 probe monitor__notify(uintptr_t, uintptr_t, char*, uintptr_t);
duke@0 73 probe monitor__notifyAll(uintptr_t, uintptr_t, char*, uintptr_t);
duke@0 74
duke@0 75 probe object__alloc(int, char*, uintptr_t, uintptr_t);
duke@0 76 probe method__entry(
duke@0 77 int, char*, int, char*, int, char*, int);
duke@0 78 probe method__return(
duke@0 79 int, char*, int, char*, int, char*, int);
duke@0 80 };
duke@0 81
duke@0 82 #pragma D attributes Evolving/Evolving/Common provider hotspot provider
duke@0 83 #pragma D attributes Private/Private/Unknown provider hotspot module
duke@0 84 #pragma D attributes Private/Private/Unknown provider hotspot function
duke@0 85 #pragma D attributes Evolving/Evolving/Common provider hotspot name
duke@0 86 #pragma D attributes Evolving/Evolving/Common provider hotspot args