X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Frunas.h;fp=src%2Fcommon%2Frunas.h;h=398221708e16948dfc62221d7df228cf3fb6f850;hp=619d3d0b3620fde2d6b3fafdc687dda4cbc3e77a;hb=c73f064af78ce03f1f6d89b66a0e05b3d3b477aa;hpb=8bd71deafbf1d15f47f4935280a6290368ec6224 diff --git a/src/common/runas.h b/src/common/runas.h index 619d3d0b3..398221708 100644 --- a/src/common/runas.h +++ b/src/common/runas.h @@ -14,6 +14,7 @@ #include #include +#include /* * The run-as process is launched by forking without an exec*() call. This means @@ -70,6 +71,11 @@ int run_as_extract_sdt_probe_offsets(int fd, const char *provider_name, const char* probe_name, uid_t uid, gid_t gid, uint64_t **offsets, uint32_t *num_offset); LTTNG_HIDDEN +int run_as_generate_filter_bytecode(const char *filter_expression, + uid_t uid, + gid_t gid, + struct lttng_filter_bytecode **bytecode); +LTTNG_HIDDEN int run_as_create_worker(const char *procname, post_fork_cleanup_cb clean_up_func, void *clean_up_user_data); LTTNG_HIDDEN