brendangregg / perf-tools

Performance analysis tools based on Linux perf_events (aka perf) and ftrace
GNU General Public License v2.0
9.9k stars 1.64k forks source link

what are these messages actually mean? #114

Closed code4happylife closed 2 years ago

code4happylife commented 2 years ago

./execsnoop Tracing exec()s. Ctrl-C to end. ERROR: ftrace may be in use by PID 2706686 /var/tmp/.ftrace-lock

code4happylife commented 2 years ago

This is a lock file which will be deleted by execsnoop if it exit. Sorry for bothering.

### ftrace lock
[[ -e $flock ]] && die "ERROR: ftrace may be in use by PID $(cat $flock) $flock"
Eric3495 commented 2 years ago

邮件发到~~