/* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. */ syscall::openat:entry, syscall::openat64:entry /pid == $1/ { self->path = copyinstr(arg1); } syscall::openat:return, syscall::openat64:entry /self->path != NULL && arg1 == -1/ { printf("open for '%s' failed", self->path); ustack(); }