Git Product home page Git Product logo

Comments (3)

ldegio avatar ldegio commented on July 30, 2024

The first issue (only matching when "evt.dir=<") is caused by the fact that when the enter event is parsed, there's neither FD number nor FD name. They are both part of the exit event for open. Since the values are not defined, the filtering system drops the event. I've been thinking about the issue in the past, and I couldn't come up with a good solution. It might be possible to buffer the enter events before feeding them to the filtering system, but that would have not trivial implications in terms of performance and event reordering.

Issue #2 (missing errors) is a bug and I will work on it.

from sysdig.

ldegio avatar ldegio commented on July 30, 2024

I think 6fe5611 should fix the second issue. Can you please try and close the issue if it works as expected?

from sysdig.

brendangregg avatar brendangregg commented on July 30, 2024
# sysdig -p "%fd.num %fd.name" "evt.type=open and proc.name=df"
3 /etc/ld.so.cache
3 /lib/x86_64-linux-gnu/libc.so.6
3 /usr/lib/locale/locale-archive
3 /etc/mtab
3 /usr/share/locale/locale.alias
-1 /usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale/en_US/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale/en/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale-langpack/en_US/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale-langpack/en.utf8/LC_MESSAGES/coreutils.mo
-1 /usr/share/locale-langpack/en/LC_MESSAGES/coreutils.mo
3 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache

Much better, that's expected. Thanks!

from sysdig.

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.