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

Daemon mode #52

Open
2 tasks
kxxt opened this issue Dec 13, 2024 · 0 comments
Open
2 tasks

Daemon mode #52

kxxt opened this issue Dec 13, 2024 · 0 comments

Comments

@kxxt
Copy link
Owner

kxxt commented Dec 13, 2024

From the beginning, tracexec is implemented as a troubleshooting tool that isn't designed to run for a long time.

  • It keeps all the events in memory and does not release them.
  • The usage of hash map of ArcStr for string de-duplication also cannot release unused strings due to lack of week variant of ArcStr

It might be useful to run tracexec in daemon mode to continuously collect exec events.
To achieve that, we need to

  • Replace hashmap of ArcStr with a string interning library.
  • Implement daemon mode and add a systemd service
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

1 participant