Hello,

> I can't really comment on when it will be fixed, but in general I would 
> hazard a guess
> that this doesn't rise to the level of impact that would allow it to  
> be included with a 10.x.xrelease. I've been wrong before, YMMV, not

Odd, under 10.5.3 I can't get 'string' to work either, would that increase 
severity, or am I doing something entirely wrong? (char* works, with string 
copying inside dtrace):

ash-3.2# make
dtrace -h -s a.d
cc -I/tmp/dtr/dtrace-48/head/ -o a a.c
In file included from a.c:3:
a.h:28: warning: parameter names (without types) in function declaration
error: Could not compile reconstructed dtrace script:

typedef int string;

provider a {
        probe log__something(string);
};

#pragma D attributes PRIVATE/PRIVATE/UNKNOWN provider a provider
#pragma D attributes PRIVATE/PRIVATE/UNKNOWN provider a module
#pragma D attributes PRIVATE/PRIVATE/UNKNOWN provider a function
#pragma D attributes PRIVATE/PRIVATE/UNKNOWN provider a name
#pragma D attributes PRIVATE/PRIVATE/UNKNOWN provider a args


ld: error creating dtrace DOF section
collect2: ld returned 1 exit status
make: *** [a] Error 1
bash-3.2# cat a.c
#include <dtrace.h>

#include "a.h"

main(){
  A_LOG_SOMETHING("yay");
}
bash-3.2# cat a.d
provider a {
        probe log__something(string);
};


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to