Skip to content

Commit

Permalink
cleanup(libsinsp): remove unused member from threadinfo
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo authored and poiana committed May 8, 2024
1 parent 97f582f commit 174c696
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion userspace/libsinsp/threadinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ void sinsp_threadinfo::init()
m_parent_loop_detected = false;
m_tty = 0;
m_category = CAT_NONE;
m_blprogram = NULL;
m_cap_inheritable = 0;
m_cap_permitted = 0;
m_cap_effective = 0;
Expand Down
18 changes: 0 additions & 18 deletions userspace/libsinsp/threadinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ struct iovec {
#include <libsinsp/state/table.h>
#include <libsinsp/thread_group_info.h>

class blprogram;

struct erase_fd_params
{
bool m_remove_from_table;
Expand Down Expand Up @@ -703,21 +701,6 @@ class SINSP_PUBLIC sinsp_threadinfo : public libsinsp::state::table_entry
m_lastevent_cpuid = v;
}

inline blprogram* get_blprogram()
{
return m_blprogram;
}

inline const blprogram* get_blprogram() const
{
return m_blprogram;
}

inline void set_blprogram(blprogram* v)
{
m_blprogram = v;
}

inline const sinsp_evt::category& get_lastevent_category() const
{
return m_lastevent_category;
Expand Down Expand Up @@ -755,7 +738,6 @@ class SINSP_PUBLIC sinsp_threadinfo : public libsinsp::state::table_entry
uint16_t m_lastevent_cpuid;
sinsp_evt::category m_lastevent_category;
bool m_parent_loop_detected;
blprogram* m_blprogram;
};

/*@}*/
Expand Down

0 comments on commit 174c696

Please sign in to comment.