Hi,

It seems that fds[fd].fi_pathname doesn't work within Solaris zone.
The following script:

  syscall::close:entry
  /pid == $target/
  {
     printf("file: %s\n", stringof(fds[arg0].fi_pathname));
  }

fails:
  > d.d -c date
  dtrace: error on enabled probe ID 1 (ID 1954: syscall::close:entry): invalid 
kernel access in action #1 at DIF offset 64
  dtrace: error on enabled probe ID 1 (ID 1954: syscall::close:entry): invalid 
kernel access in action #1 at DIF offset 64

However, it works fine when running within global Solaris zone or without zones:
  > d.d -c date
  file: /platform/sun4v/lib/libc_psr.so.1
  file: /usr/share/lib/zoneinfo/Europe/Moscow

Is it known problem or using fds structure in not correct within Solaris zones?

thanks,
-katya
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to