From: Jérémie Galarneau Date: Tue, 30 Jan 2018 15:51:59 +0000 (-0500) Subject: Add missing clock.h compatiblity header under ctf-ir X-Git-Tag: v2.0.0-pre5~349 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=a17857eb2535010e7bd02ab3a636edbfe4e719c5 Add missing clock.h compatiblity header under ctf-ir Babeltrace 1.5 exposes a clock.h header under ctf-ir which is equivalent to what is now ctf-writer/clock.h. This commit adds a compatiblity header which includes ctf-writer/clock.h in order to maintain the backward compatibility with the 1.x API. Signed-off-by: Jérémie Galarneau --- diff --git a/include/Makefile.am b/include/Makefile.am index 22c1605f..c026e74c 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -29,6 +29,7 @@ babeltracectfirincludedir = "$(includedir)/babeltrace/ctf-ir" babeltracectfirinclude_HEADERS = \ babeltrace/ctf-ir/clock-class.h \ babeltrace/ctf-ir/clock-value.h \ + babeltrace/ctf-ir/clock.h \ babeltrace/ctf-ir/event-class.h \ babeltrace/ctf-ir/event.h \ babeltrace/ctf-ir/field-path.h \ diff --git a/include/babeltrace/ctf-ir/clock.h b/include/babeltrace/ctf-ir/clock.h new file mode 100644 index 00000000..5f08ac1d --- /dev/null +++ b/include/babeltrace/ctf-ir/clock.h @@ -0,0 +1,35 @@ +#ifndef BABELTRACE_CTF_IR_CLOCK_H +#define BABELTRACE_CTF_IR_CLOCK_H + +/* + * BabelTrace - CTF IR: Clock + * + * Copyright 2018 Jérémie Galarneau + * + * Author: Jérémie Galarneau + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * 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 + */ + +#include + +#endif /* BABELTRACE_CTF_IR_CLOCK_H */