X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Ftraceable-app.h;h=39f97f2a2b3968cd091053f1df5d90684b59ae25;hp=4d5e56a66d9763153eb1afb1440ce513abfe34d8;hb=44d3bd014f6ad217cff7e7c3dfaad76b1927c37b;hpb=28ca4a8b53068907137724e2e078b29cecf525f7 diff --git a/ltt-sessiond/traceable-app.h b/ltt-sessiond/traceable-app.h index 4d5e56a66..39f97f2a2 100644 --- a/ltt-sessiond/traceable-app.h +++ b/ltt-sessiond/traceable-app.h @@ -22,6 +22,8 @@ #include #include +#include "trace-ust.h" + /* * Application registration data structure. */ @@ -70,6 +72,7 @@ struct ltt_traceable_app { uint32_t v_major; /* Verion major number */ uint32_t v_minor; /* Verion minor number */ char name[17]; /* Process name (short) */ + struct ltt_ust_channel_list channels; struct cds_list_head list; }; @@ -82,4 +85,6 @@ void unlock_apps_list(void); void clean_traceable_apps_list(void); struct ltt_traceable_app_list *get_traceable_apps_list(void); +struct ltt_traceable_app *traceable_app_get_by_pid(pid_t pid); + #endif /* _TRACEABLE_APP_H */