From: Mathieu Desnoyers Date: Fri, 20 Mar 2015 19:16:11 +0000 (-0400) Subject: Fix: add missing function prototype to trace-ust.h header X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b4650bd0acbc0d3e904ed2bfb777109c824f0509;p=lttng-tools.git Fix: add missing function prototype to trace-ust.h header Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/trace-ust.h b/src/bin/lttng-sessiond/trace-ust.h index 7d6426908..fa91b6ae9 100644 --- a/src/bin/lttng-sessiond/trace-ust.h +++ b/src/bin/lttng-sessiond/trace-ust.h @@ -204,6 +204,8 @@ void trace_ust_destroy_event(struct ltt_ust_event *event); int trace_ust_track_pid(struct ltt_ust_session *session, int pid); int trace_ust_untrack_pid(struct ltt_ust_session *session, int pid); +int trace_ust_pid_tracker_lookup(struct ltt_ust_session *session, int pid); + ssize_t trace_ust_list_tracker_pids(struct ltt_ust_session *session, int32_t **_pids); @@ -298,6 +300,11 @@ int trace_ust_untrack_pid(struct ltt_ust_session *session, int pid) { return 0; } +static inline +int trace_ust_pid_tracker_lookup(struct ltt_ust_session *session, int pid) +{ + return 0; +} ssize_t trace_ust_list_tracker_pids(struct ltt_ust_session *session, int32_t **_pids) {