hotspot/src/os/solaris/dtrace/generateJvmOffsets.h
changeset 7397 5b173b4ca846
parent 5547 f4b087cbb361
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     1 /*
     1 /*
     2  * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
       
    25 #ifndef OS_SOLARIS_DTRACE_GENERATEJVMOFFSETS_H
       
    26 #define OS_SOLARIS_DTRACE_GENERATEJVMOFFSETS_H
       
    27 
    25 #include <stdio.h>
    28 #include <stdio.h>
    26 #include <strings.h>
    29 #include <strings.h>
    27 
    30 
    28 typedef enum GEN_variant {
    31 typedef enum GEN_variant {
    29         GEN_OFFSET = 0,
    32         GEN_OFFSET = 0,
    34 extern "C" {
    37 extern "C" {
    35         int generateJvmOffsets(GEN_variant gen_var);
    38         int generateJvmOffsets(GEN_variant gen_var);
    36         void gen_prologue(GEN_variant gen_var);
    39         void gen_prologue(GEN_variant gen_var);
    37         void gen_epilogue(GEN_variant gen_var);
    40         void gen_epilogue(GEN_variant gen_var);
    38 }
    41 }
       
    42 
       
    43 #endif // OS_SOLARIS_DTRACE_GENERATEJVMOFFSETS_H