X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust%2Ftracepoint-internal.h;h=93d89257fb559d2b0058283841e9fbdfb71c4a11;hb=37ed587a8b9aea32c383058b4765a5730497d74a;hp=6b159b4c09378f6c44c35250f4208457452da451;hpb=b27f8e75a6e762ed01b889560431476516786d9f;p=lttng-ust.git diff --git a/include/ust/tracepoint-internal.h b/include/ust/tracepoint-internal.h index 6b159b4c..93d89257 100644 --- a/include/ust/tracepoint-internal.h +++ b/include/ust/tracepoint-internal.h @@ -34,6 +34,12 @@ #include #include +struct tracepoint_lib { + struct tracepoint * const *tracepoints_start; + int tracepoints_count; + struct cds_list_head list; +}; + extern int tracepoint_probe_register_noupdate(const char *name, void *probe, void *data); extern int tracepoint_probe_unregister_noupdate(const char *name, void *probe, @@ -62,9 +68,6 @@ static inline void tracepoint_synchronize_unregister(void) synchronize_rcu(); } -extern void lock_trace_events(void); -extern void unlock_trace_events(void); - struct trace_event_iter { struct trace_event_lib *lib; struct trace_event * const *trace_event; @@ -72,15 +75,13 @@ struct trace_event_iter { extern void trace_event_iter_start(struct trace_event_iter *iter); extern void trace_event_iter_next(struct trace_event_iter *iter); +extern void trace_event_iter_stop(struct trace_event_iter *iter); extern void trace_event_iter_reset(struct trace_event_iter *iter); -extern int trace_event_get_iter_range(struct trace_event * const **trace_event, - struct trace_event * const *begin, - struct trace_event * const *end); - extern void trace_event_update_process(void); extern int is_trace_event_enabled(const char *channel, const char *name); extern void init_tracepoint(void); +extern void exit_tracepoint(void); #endif /* _UST_TRACEPOINT_INTERNAL_H */