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

Extend example on how to extract system calls from CTF file. #7

Open
boneymoy opened this issue Dec 5, 2022 · 2 comments
Open

Extend example on how to extract system calls from CTF file. #7

boneymoy opened this issue Dec 5, 2022 · 2 comments

Comments

@boneymoy
Copy link

boneymoy commented Dec 5, 2022

I am trying to access the system calls of a lttng CTF recording using Rust.
The provided example works and I am able to access the trace properties as well as the stream properties.
Since there is no extended documentation and since I wasn't able to find a counterpart to CtfIterator in the babeltrace2 documentation I was wondering if an example for accessing the system calls could be provided.
Thanks in advance,
Tim.

@jonlamb-gh
Copy link
Collaborator

Hi there,
I don't have any additional examples floating around unfortunately.
You might be able to figure out what you need by looking at our modality-ctf-plugins repo, which uses this library to parse CTF streams.

@boneymoy
Copy link
Author

boneymoy commented Dec 14, 2022

Thanks for the reply, I will have look.
Have you ever used the library to access system call data?

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

No branches or pull requests

2 participants