Fix: do not sample clock when closing/opening a packet for an event not fitting
[deliverable/barectf.git] / CHANGELOG.md
CommitLineData
f6be1e13
PP
1# barectf 2 changelog
2
1249f43a
PP
3## barectf v2.3.0
4
5**Features**:
6
7 * Add tracing activity and tracing section API to check whether or not
8 the traced thread is currently within a barectf tracing function and
9 to enable or disable tracing.
10
11**Tests**:
12
13 * Add tox configuration.
14
15**Fixes**:
16
17 * Fix various testing infrastructure issues.
18 * Fix generated `bitfield.h` big-endian macros.
19
20
c9ea9886
PP
21## barectf v2.2.1
22
23**Minor improvements**:
24
25 * barectf now generates ANSI C code.
26 * The generated code can be compiled with a C++ compiler.
27
28**README.md**:
29
30 * barectf claims to generate ANSI C code.
31 * Reword some paragraphs.
32
33
e940bb72
PP
34## barectf v2.2.0
35
36**Features**:
37
38 * Add `$default` boolean property to stream objects, and
39 `$default-stream` string property to the metadata object, to specify
40 a _default stream_: when a default stream exists, tracing function
41 aliases without the default stream name (`barectf_trace_my_event()`,
42 for example) are also generated
43 * Add `options` property to the configuration object, with:
44 * `gen-prefix-def`: true to generate a preprocessor definition
45 (`#define`) in `barectf.h` for the effective prefix
46 * `gen-default-stream-def`: true to generate a preprocessor
47 definition for the default stream name, if any
48 * Create `barectf-tracepoint.h`, a bridging C header file that
49 allows LTTng-UST tracepoints to be used as is with barectf by
50 providing the same `tracepoint()` macro
51
52**Tests**:
53
54 * Test the new `$default` (stream object), `$default-stream` (metadata
55 object), and `options` (configuration object) properties
56
57**README.md**:
58
59 * Add instructions for installing barectf on Arch Linux using the AUR
60 * Add instructions for installing barectf on Ubuntu using a PPA
61
62
bfed73be
PP
63## barectf v2.1.4
64
65**Minor improvements**:
66
67 * Override default metadata `env` entries with user entries instead of
68 the opposite
69 * Statically align and compute the size of event fields when possible
70 for the `_get_event_size_*()` functions when possible
71
72**Bug fixes**:
73
74 * Do not write event's `stream_id` or stream's `id` when the trace
75 packet header type has no `stream_id` field.
76
77**Tests**:
78
79 * Add config test for multiple streams, no `stream_id` field in packet
80 header type
81
82**README.md**:
83
84 * Indicate how to install the command's man page
85
86
7df67d66
PP
87## barectf v2.1.3
88
89**Minor improvements**:
90
91 * Allow no or empty event payload type, as long as the event is not
92 empty itself (contains at least one field in its 4 entities)
93
94**Tests**:
95
96 * Remove no/empty event payload type config tests
97 * Add config test for empty event
98
99**README.md**:
100
101 * Add image on top
102 * Add Community section
103
104
f6bf761c
PP
105## barectf v2.1.2
106
107**Bug fixes**:
108
109 * Inherit from appropriate unsigned integer type aliases in
110 `stdint.yaml` for self-aligned, signed integer type aliases
111
112
f9e8f1c9
PP
113## barectf v2.1.1
114
115**Bug fixes**:
116
117 * Force clock offset object properties to their default values when
118 set to `null`
119
120**README.md**:
121
122 * Update Babeltrace's URL
123 * Add `--python=python3` option to virtualenv line in the
124 testing section
125
126
e4f5f5f4
PP
127## barectf v2.1.0
128
129**Features**:
130
131 * Add `$include` property to metadata, clock, trace, stream, and
132 event objects to [include external YAML files](https://github.com/efficios/barectf/wiki/Including-external-YAML-files)
133 * Object properties which have a default value can force it
134 with `null`; this is especially useful when also using type
135 inheritance or including external YAML files
136
137**Bug fixes**:
138
139 * Fix a few error messages
140 * Use appropriate prefix for event context type parameters in
141 generated code
142 * `_write_cstring()`: use prefix
143 * Enumeration type object: start from current last value when
144 adding label-only members to parent object
145 * Check the size of the `id` (event header) and `stream_id`
146 (packet header) to make sure they can fit all events/streams
147 * Reduce the number of compiler warnings when using `-Wall` and
148 `-pedantic`
149 * Make sure all entity types are structure types
150 * Make sure all enumeration type object member values fit within
151 the enumeration's value type
152 * Check for unknown properties in enumeration type object
153 * Check for unknown properties in floating point number size object
154 * Check for unknown `base` values in integer type object
155 * Check the type of the `byte-order` property in trace object
156 * Check the signedness of the `uuid` field's element type in the
157 trace packet header type
158 * Check for unknown properties in configuration object
159 * Check node type before checking its properties
160 * Use unions to write floating point numbers to avoid aliasing warnings
161
162**Tests**:
163
164 * Add configuration file tests
165
166**README.md**:
167
b7c42d35 168 * Add CI badge
e4f5f5f4
PP
169 * Add C99 compliance limitation
170 * Move documentation to the project's wiki
171
172
f6be1e13
PP
173## barectf v2.0.2
174
175**README.md**:
176
177 * Add PyPI badge
178 * Fix Arch Linux installation command line
179
180
181## barectf v2.0.1
182
183**Bug fixes**:
184
185 * Fix various bugs in the Parallella platform
186
187
188## barectf v2.0.0
189
190Initial release.
191
192Major changes from barectf 0.x:
193
194 * Single YAML configuration input
195 * TSDL metadata is generated by barectf instead of being consumed
196 * Introduction of platforms to handle buffers automatically with
197 custom callbacks and to allow continuous tracing
198 * Various optimizations in the generated C code
This page took 0.030485 seconds and 4 git commands to generate.