Skip to content

Commit

Permalink
update(userspace/libsinsp): introduce sinsp_evt::get_errorcode()
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo Puglisi <angelopuglisi86@gmail.com>
  • Loading branch information
deepskyblue86 authored and poiana committed Jun 30, 2023
1 parent 6473c3b commit 76ed98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/event.h
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ class SINSP_PUBLIC sinsp_evt : public gen_event
int render_fd_json(Json::Value *ret, int64_t fd, const char** resolved_str, sinsp_evt::param_fmt fmt);
uint32_t get_dump_flags();
static bool clone_event(sinsp_evt& dest, const sinsp_evt& src);
int32_t get_errorcode() { return m_errorcode; }

// Save important values from the provided enter event. They
// are accessible from get_enter_evt_param().
Expand Down Expand Up @@ -623,7 +624,6 @@ VISIBILITY_PRIVATE
friend class sinsp_filter_check_event;
friend class sinsp_filter_check_thread;
friend class sinsp_dumper;
friend class sinsp_analyzer_fd_listener;
friend class sinsp_analyzer_parsers;
friend class lua_cbacks;
friend class sinsp_container_manager;
Expand Down

0 comments on commit 76ed98a

Please sign in to comment.