X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevent.h;h=630d6c1188dd0255e71c11f4c487b4160df1a1ca;hb=410b78a0be5045a1e0d85bdf3b3e0f2288825f0d;hp=0131defcca2357063585130d20c35113d3a51c48;hpb=ef0e06bcabd5f5fcf609b60d6558c2bdded5e496;p=lttng-tools.git diff --git a/include/lttng/event.h b/include/lttng/event.h index 0131defcc..630d6c118 100644 --- a/include/lttng/event.h +++ b/include/lttng/event.h @@ -37,6 +37,7 @@ enum lttng_event_type { LTTNG_EVENT_FUNCTION_ENTRY = 3, LTTNG_EVENT_NOOP = 4, LTTNG_EVENT_SYSCALL = 5, + LTTNG_EVENT_USERSPACE_PROBE = 6, }; /* @@ -304,6 +305,8 @@ extern int lttng_list_events(struct lttng_handle *handle, extern struct lttng_event *lttng_event_create(void); +extern struct lttng_event *lttng_event_copy(const struct lttng_event *event); + extern void lttng_event_destroy(struct lttng_event *event); /*