src/os/linux/vm/dtraceJSDT_linux.cpp

Thu, 17 Apr 2008 22:18:15 -0400

author
kamg
date
Thu, 17 Apr 2008 22:18:15 -0400
changeset 551
018d5b58dd4f
child 631
d1605aabd0a1
permissions
-rw-r--r--

6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Summary: Initial checkin of JSDT code
Reviewed-by: acorn, sbohne

kamg@551 1 /*
kamg@551 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
kamg@551 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
kamg@551 4 *
kamg@551 5 * This code is free software; you can redistribute it and/or modify it
kamg@551 6 * under the terms of the GNU General Public License version 2 only, as
kamg@551 7 * published by the Free Software Foundation.
kamg@551 8 *
kamg@551 9 * This code is distributed in the hope that it will be useful, but WITHOUT
kamg@551 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
kamg@551 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kamg@551 12 * version 2 for more details (a copy is included in the LICENSE file that
kamg@551 13 * accompanied this code).
kamg@551 14 *
kamg@551 15 * You should have received a copy of the GNU General Public License version
kamg@551 16 * 2 along with this work; if not, write to the Free Software Foundation,
kamg@551 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
kamg@551 18 *
kamg@551 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
kamg@551 20 * CA 95054 USA or visit www.sun.com if you need additional information or
kamg@551 21 * have any questions.
kamg@551 22 *
kamg@551 23 */
kamg@551 24
kamg@551 25 #include "incls/_precompiled.incl"
kamg@551 26 #include "incls/_dtraceJSDT_linux.cpp.incl"
kamg@551 27
kamg@551 28 int DTraceJSDT::pd_activate(
kamg@551 29 void* baseAddress, jstring module,
kamg@551 30 jint providers_count, JVM_DTraceProvider* providers) {
kamg@551 31 return -1;
kamg@551 32 }
kamg@551 33
kamg@551 34 void DTraceJSDT::pd_dispose(int handle) {
kamg@551 35 }
kamg@551 36
kamg@551 37 jboolean DTraceJSDT::pd_is_supported() {
kamg@551 38 return false;
kamg@551 39 }

mercurial