Skip to content

Recognize strace openat calls #1521

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

richard-hajek
Copy link

@richard-hajek richard-hajek commented Aug 12, 2025

Hey,

I noticed that openat syscall in strace output has some trailing information which broke the regex. I added this to the regex pattern.

I do have some concerns:

  • I do not have any large corpus of tests to confirm this change doesn't break anything besides "works on my machine"
  • I am running strace with strace -ff -yy, I don't know what's the supported strace flags for lnav
  • The added regex group is very general and will grab basically anything at the end of otherwise valid strace string. That seems somewhat risky

Example log:
df.strace.112142.log

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

Successfully merging this pull request may close these issues.

1 participant