Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get the filename by example/bcc/perf #333

Open
guozijing opened this issue Mar 28, 2024 · 0 comments
Open

Can not get the filename by example/bcc/perf #333

guozijing opened this issue Mar 28, 2024 · 0 comments

Comments

@guozijing
Copy link

When i run go run example/bcc/perf/perf.go,
I can capture the syscall_chown, but i can not get the right uid, pid and filename.


strace -e trace=fchownat chown root:admin ./install.sh

fchownat(AT_FDCWD, "./install.sh", 0, 1000, 0) = 0
+++ exited with 0 +++

go run perf.go

uid 4294967295 gid 0 pid 1436932 called fchownat(2) on (return value: 0)
uid 4294967295 gid 0 pid 1437344 called fchownat(2) on (return value: 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant