X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt-events.h;h=6244e8c5a49df5427226f8d9d8163a9a237d5337;hb=c24a0d710f6aac1484bd02bb6375e8de7429edd0;hp=2b6ef40a42978de5274db70e900b497144a50431;hpb=25b2f99ab44a986f4850ece6eaadb2ead024c924;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index 2b6ef40a..6244e8c5 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -7,6 +7,8 @@ * Copyright 2010 (c) - Mathieu Desnoyers * * Holds LTTng per-session event registry. + * + * Dual LGPL v2.1/GPL v2 license. */ #include @@ -274,6 +276,12 @@ struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx); void lttng_destroy_context(struct lttng_ctx *ctx); int lttng_add_pid_to_ctx(struct lttng_ctx **ctx); int lttng_add_comm_to_ctx(struct lttng_ctx **ctx); +int lttng_add_prio_to_ctx(struct lttng_ctx **ctx); +int lttng_add_nice_to_ctx(struct lttng_ctx **ctx); +int lttng_add_perf_counter_to_ctx(uint32_t type, + uint64_t config, + const char *name, + struct lttng_ctx **ctx); #ifdef CONFIG_KPROBES int lttng_kprobes_register(const char *name,