X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Fevent-class.h;h=e435d3876608665443f6f1fecba14c12bca11bd3;hb=7b6afccb24b31e2feed787c2ed97809e797c3070;hp=98a95caaef288a119f9a070adbd2c11331f28abb;hpb=959b3d46dc042fe1df34592f528f866dd200f395;p=babeltrace.git diff --git a/include/babeltrace2/trace-ir/event-class.h b/include/babeltrace2/trace-ir/event-class.h index 98a95caa..e435d387 100644 --- a/include/babeltrace2/trace-ir/event-class.h +++ b/include/babeltrace2/trace-ir/event-class.h @@ -2,8 +2,7 @@ #define BABELTRACE2_TRACE_IR_EVENT_CLASS_H /* - * Copyright 2017-2018 Philippe Proulx - * Copyright 2013, 2014 Jérémie Galarneau + * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -22,9 +21,6 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - * - * The Common Trace Format (CTF) Specification is available at - * http://www.efficios.com/ctf */ #ifndef __BT_IN_BABELTRACE_H @@ -46,6 +42,12 @@ extern bt_event_class *bt_event_class_create( extern bt_event_class *bt_event_class_create_with_id( bt_stream_class *stream_class, uint64_t id); +extern bt_value *bt_event_class_borrow_user_attributes( + bt_event_class *event_class); + +extern void bt_event_class_set_user_attributes( + bt_event_class *event_class, const bt_value *user_attributes); + extern bt_stream_class *bt_event_class_borrow_stream_class( bt_event_class *event_class);