-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(events): create tracee_info event
Create an event that export Tracee's data upon startup. Co-authored-by: Alon Zivony <[email protected]>
- Loading branch information
1 parent
96ebc05
commit f9f0e24
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# tracee_info | ||
|
||
## Intro | ||
|
||
tracee_info - An event that exports some relevant data of Tracee upon startup. | ||
|
||
## Description | ||
|
||
This event, created in user-mode during Tracee's initialization, is typically the first event emitted. It provides valuable metadata about Tracee's configuration and runtime environment, which can be helpful for event processing and troubleshooting. | ||
|
||
The event was created also with Tracee's File Source in mind, to provide information about how Tracee ran during the original capture. | ||
|
||
## Arguments | ||
|
||
* `boot_time`:`u64`[U] - the boot time of the system that Tracee is running on, relative to the Unix epoch. | ||
* `start_time`:`u64`[U] - the time the Tracee process started relative to system boot time. | ||
* `version`:`const char*`[U] - Tracee version. | ||
|
||
## Hooks | ||
|
||
## Example Use Case | ||
|
||
The event could be used to calculate the relative time of events since Tracee's start. | ||
|
||
## Related Events | ||
|
||
`init_namespaces` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters