8000 Misc typo fixes by Akasurde · Pull Request #1427 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Misc typo fixes #1427

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

Merged
merged 1 commit into from
Feb 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tracee-ebpf/test/gob/gob.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ LOOP:
err = dec.Decode(&event)
if err != nil {
if err == io.EOF {
// ignore EOF becasue we assume events can keep streaming into the file
// ignore EOF because we assume events can keep streaming into the file
time.Sleep(time.Millisecond * 500)
continue
} else {
Expand Down
2 changes: 1 addition & 1 deletion tracee-ebpf/tracee/events_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (t *Tracee) decodeEvents(outerCtx gocontext.Context) (<-chan *external.Even
// Todo: The monotonic clock doesn't take into account system sleep time.
// Starting from kernel 5.7, we can get the timestamp relative to the system boot time instead which is preferable.
if t.config.Output.RelativeTime {
// To get the monotonic time since tracee was started, we have to substract the start time from the timestamp.
// To get the monotonic time since tracee was started, we have to subtract the start time from the timestamp.
ctx.Ts -= t.startTime
} else {
// To get the current ("wall") time, we add the boot time into it.
Expand Down
2 changes: 1 addition & 1 deletion tracee-ebpf/tracee/events_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (t *Tracee) shouldProcessEvent(ctx *context, args []external.Argument) bool
if !ok {
continue
}
// TODO: use type assertion instead of string convertion
// TODO: use type assertion instead of string conversion
argValStr := fmt.Sprint(argVal)
match := false
for _, f := range filter.Equal {
Expand Down
2 changes: 1 addition & 1 deletion tracee-ebpf/tracee/tracee.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func New(cfg Config) (*Tracee, error) {
t.pcapWriter = pcapWriter
}

// Get refernce to stack trace addresses map
// Get reference to stack trace addresses map
StackAddressesMap, err := t.bpfModule.GetMap("stack_addresses")
if err != nil {
t.Close()
Expand Down
0