Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2020 15:33:57 +0530
From:      "Kamal R. Prasad" <kamalpr@gmail.com>
To:        freebsd-dtrace@freebsd.org
Subject:   set argument
Message-ID:  <CAK=yUGL8Ls5V4E=ucPJ9Unvf_UhDDngU7ue%2BkeRL3Zx2khJw5Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hello,

 How does dtrace access the argument type declarations when we define a new
SDT? eg:- I define an SDT that has arg0 as (struct mystrust*)

I have defined in my proprietary header file
---------------
typedef struct abc {
int a;
int b;
int c;
};
typedef struct def {
int d;
int e;
int f;
};

typedef struct mystrust {
struct abc* myarg1;
struct def* myarg2
};
---------------

I want my probe to be able to access the typedeffor struct abc and struct
def.

thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK=yUGL8Ls5V4E=ucPJ9Unvf_UhDDngU7ue%2BkeRL3Zx2khJw5Q>