Skip to content

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

@guozijing

Description

@guozijing

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions