Skip to content

Commit

Permalink
chore(userspace/libsinsp): apply review suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Terzolo <[email protected]>
Signed-off-by: Jason Dellaluce <[email protected]>
  • Loading branch information
jasondellaluce and Andreagit97 committed Jan 9, 2024
1 parent 6ed8c1b commit bd02e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userspace/libsinsp/sinsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -974,15 +974,15 @@ void sinsp::on_new_entry_from_proc(void* context,
{
if(m_filter != nullptr && is_capture())
{
scap_evt tscapevt;
scap_evt tscapevt = {};
tscapevt.tid = tid;
tscapevt.ts = 0;
tscapevt.type = PPME_SYSCALL_READ_X;
tscapevt.len = 0;
tscapevt.nparams = 0;

auto tinfo = find_thread(tid, true);
sinsp_evt tevt;
sinsp_evt tevt = {};
tevt.m_pevt = &tscapevt;
tevt.m_inspector = this;
tevt.m_info = &(g_infotables.m_event_info[PPME_SYSCALL_READ_X]);
Expand Down

0 comments on commit bd02e54

Please sign in to comment.