set argument

Kamal R. Prasad kamalpr at gmail.com
Mon Mar 2 10:04:10 UTC 2020


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


More information about the freebsd-dtrace mailing list