VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:17:12 PM (10 years ago)
Author:
vboxsync
Message:

VBoxDTrace: Started on the dtrace command, calling ours VBoxDTrace. (r16)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dtrace.h

    r53634 r53646  
    2828#define _DTRACE_H
    2929
     30#ifndef VBOX
    3031#pragma ident   "%Z%%M% %I%     %E% SMI"
     32#endif
    3133
    3234#include <sys/dtrace.h>
    3335#include <stdarg.h>
    3436#include <stdio.h>
     37#ifndef VBOX
    3538#include <gelf.h>
     39#endif
    3640
    3741#ifdef  __cplusplus
     
    431435 * be flushed and not used subsequently by the client program.
    432436 */
     437#ifndef VBOX
    433438
    434439#define DTRACE_OBJ_EXEC  ((const char *)0L)     /* primary executable file */
     
    445450        int dto_id;                             /* object file id (if any) */
    446451        uint_t dto_flags;                       /* object flags (see below) */
     452
    447453        GElf_Addr dto_text_va;                  /* address of text section */
    448454        GElf_Xword dto_text_size;               /* size of text section */
     
    472478extern int dtrace_lookup_by_addr(dtrace_hdl_t *, GElf_Addr addr,
    473479    GElf_Sym *, dtrace_syminfo_t *);
     480#endif /* !VBOX */
    474481
    475482typedef struct dtrace_typeinfo {
     
    482489    dtrace_typeinfo_t *);
    483490
     491#ifndef VBOX
    484492extern int dtrace_symbol_type(dtrace_hdl_t *, const GElf_Sym *,
    485493    const dtrace_syminfo_t *, dtrace_typeinfo_t *);
     494#endif
    486495
    487496extern int dtrace_type_strcompile(dtrace_hdl_t *,
     
    513522    const dtrace_probedesc_t *, dtrace_probeinfo_t *);
    514523
     524#ifndef VBOX
    515525/*
    516526 * DTrace Vector Interface
     
    528538        long (*dtv_sysconf)(void *, int);
    529539};
     540#endif /* !VBOX */
    530541
    531542/*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette