Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoherencies between trace file and live output when execve is filtered out #115

Open
gianlucaborello opened this issue Apr 14, 2014 · 1 comment

Comments

@gianlucaborello
Copy link
Contributor

If the execve/clone for a process is filtered out, and the instrumented process is started when sysdig is already running, then the output on screen will not be coherent with the content of the dump file.

  1. Despite the filter, output on screen is shown correctly:
$ sudo sysdig proc.name=ls and evt.type=openat
2612 20:44:02.098120967 3 ls (58315) > openat dirfd=-100(ENETDOWN) name=. flags=1089 mode=0
2613 20:44:02.098123141 3 ls (58315) < openat fd=3(<f>/home/gianluca)
...
$
  1. Same as 1), but the trace is now saved
$ sudo sysdig -w dump.scap proc.name=ls and evt.type=openat
$
  1. A user would expect the same output as 1), but instead a bunch of NA are shown
$ sysdig -r dump.scap
1 20:44:22.779774434 1 <NA> (58318) > openat dirfd=-100(ENETDOWN) name=. flags=1089 mode=0
2 20:44:22.779776464 1 <NA> (58318) < openat fd=3(<f>)
$
@github-actions
Copy link

github-actions bot commented Mar 3, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants