Implement PID tracker content listing
[lttng-tools.git] / src / bin / lttng-sessiond / kernel.h
index 09c3ed9929513804966da17fe9af42dc62d6cc04..a2d19f1434102e2d15b1ce790c28b9f43e42e2f1 100644 (file)
@@ -30,6 +30,7 @@
  * dynamic reallocation is performed.
  */
 #define KERNEL_EVENT_INIT_LIST_SIZE 64
+#define KERNEL_TRACKER_PIDS_INIT_LIST_SIZE 64
 
 int kernel_add_channel_context(struct ltt_kernel_channel *chan,
                struct ltt_kernel_context *ctx);
@@ -45,6 +46,8 @@ int kernel_enable_syscall(const char *syscall_name,
                struct ltt_kernel_channel *channel);
 int kernel_disable_syscall(const char *syscall_name,
                struct ltt_kernel_channel *channel);
+int kernel_track_pid(struct ltt_kernel_session *session, int pid);
+int kernel_untrack_pid(struct ltt_kernel_session *session, int pid);
 int kernel_open_metadata(struct ltt_kernel_session *session);
 int kernel_open_metadata_stream(struct ltt_kernel_session *session);
 int kernel_open_channel_stream(struct ltt_kernel_channel *channel);
@@ -64,5 +67,7 @@ int kernel_snapshot_record(struct ltt_kernel_session *ksess,
 int kernel_syscall_mask(int chan_fd, char **syscall_mask, uint32_t *nr_bits);
 
 int init_kernel_workarounds(void);
+ssize_t kernel_list_tracker_pids(struct ltt_kernel_session *session,
+               int **_pids);
 
 #endif /* _LTT_KERNEL_CTL_H */
This page took 0.029499 seconds and 5 git commands to generate.