Displaying 1 result from an estimated 1 matches for "wanjm".
Did you mean:
wan_jm
2007 Dec 29
1
why was some stack information lost.
I wrote a simple c programme and do some dtrace test. the progromme shows below(write.c):
///////////////////////////////
#include<stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
char *value="hello,my name is wanjm\n";
void main()
{
int fd;
fd=open("/export/home/wanjm/temp/read.txt",O_RDWR|O_CREAT);
while(1)
{
sleep(1);
write(fd,value,strlen(value));
}
}
////////////////////////////////////////
and the dtrace script (write.d) is:
syscall::write:entry,
fbt::write:entry,
pid$1::...