Comments (4)
CONFIG_FTRACE_SYSCALLS may be necessary. That's disabled on my system and I get this error. I'll rebuild my kernel with it enabled and see what happens.
Edit: Yes, enabling CONFIG_FTRACE_SYSCALLS (and CONFIG_FUNCTION_PROFILER, though it probably wasn't necessary) solved the problem.
from perf-tools.
$ sudo ./opensnoop
Password:
Tracing open()s. Ctrl-C to end.
./opensnoop: line 179: events/syscalls/sys_exit_open/enable: No such file or directory
ERROR: enabling open() exit tracepoint. Exiting.
if ! echo 1 > events/syscalls/sys_exit_open/enable; then
Not sure how this ever worked...?!
from perf-tools.
Is FTRACE enabled in your kernel?
from perf-tools.
It appears CONFIG_FTRACE_SYSCALLS
wasn't enabled in my kernel (though the waters are a bit muddy - the repo containing the config was reorganized a few times).
I'll try to find time to try again.
Not sure how this ever worked...?!
I think I was referring to the relative path. Seems I hadn't noticed the cd /sys/...
command. ๐ณ
from perf-tools.
Related Issues (20)
- Difference between sched_process_free and sched_process_exit HOT 3
- How to use perf_event_open() to monitor the events which not in the enum struct perf_hw_id?
- Execsnoop not working on Mac OS X HOT 2
- using killsnoop.bt from inside a docker container?
- kprobe: fails when debugfs isn't mounted, use alternate
- Negative number of hits when using cachestat HOT 1
- memory events not supported
- funcgraph does not output anything
- what are these messages actually mean? HOT 2
- perf-tools HOT 1
- execsnoop missing data for popen
- cachestat can't work on kernel 3.16 HOT 3
- iosloop questions
- problem using cachestat
- execsnoop doesn't work with kernel 4.17+ HOT 6
- Why use syscall/sys_enter_open & syscall/sys_enter_openat, and not just fs/do_sys_open?
- โperf script -F +insnโ doesn't print insn field
- functrace and funcgraph only supports single function HOT 1
- How to get device
- Failed to open .map files, continuing without symbols
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perf-tools.