GithubHelp home page GithubHelp logo

Comments (4)

cebtenzzre avatar cebtenzzre commented on June 15, 2024 1

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.

mpictor avatar mpictor commented on June 15, 2024

$ 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.

opensnoop:179 is

if ! echo 1 > events/syscalls/sys_exit_open/enable; then

Not sure how this ever worked...?!

from perf-tools.

scotte avatar scotte commented on June 15, 2024

Is FTRACE enabled in your kernel?

from perf-tools.

mpictor avatar mpictor commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.