From 174c696be47eb855db2f13aff48e67c3e5963001 Mon Sep 17 00:00:00 2001 From: Roberto Scolaro Date: Tue, 7 May 2024 11:00:36 +0000 Subject: [PATCH] cleanup(libsinsp): remove unused member from threadinfo Signed-off-by: Roberto Scolaro --- userspace/libsinsp/threadinfo.cpp | 1 - userspace/libsinsp/threadinfo.h | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/userspace/libsinsp/threadinfo.cpp b/userspace/libsinsp/threadinfo.cpp index 190e0cb9aa..6f190bd7b1 100644 --- a/userspace/libsinsp/threadinfo.cpp +++ b/userspace/libsinsp/threadinfo.cpp @@ -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; diff --git a/userspace/libsinsp/threadinfo.h b/userspace/libsinsp/threadinfo.h index dc3d6c8710..249dcdc866 100644 --- a/userspace/libsinsp/threadinfo.h +++ b/userspace/libsinsp/threadinfo.h @@ -36,8 +36,6 @@ struct iovec { #include #include -class blprogram; - struct erase_fd_params { bool m_remove_from_table; @@ -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; @@ -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; }; /*@}*/