Re: tprobe event tracing error

2024-02-28 Thread Steven Rostedt
On Wed, 28 Feb 2024 10:52:52 -0500 Steven Rostedt wrote: > The prototype of fchownat() is: > > int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); > > Where pathname is the third parameter, not the first, and mode is the third. I meant pathname is the second parameter. --

Re: tprobe event tracing error

2024-02-28 Thread Steven Rostedt
On Wed, 28 Feb 2024 17:25:40 +0300 Максим Морсков wrote: > Dear colleagues, > One last question — is it bug or feature that trobe event tracing can not > correctly dereference string pointers from pt_regs? > For example: > echo 't:tmy_chmod sys_enter id=$arg2 filename=+8($arg1):string > mode=+1