From a17857eb2535010e7bd02ab3a636edbfe4e719c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 30 Jan 2018 10:51:59 -0500 Subject: [PATCH] Add missing clock.h compatiblity header under ctf-ir MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- include/Makefile.am | 1 + include/babeltrace/ctf-ir/clock.h | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 include/babeltrace/ctf-ir/clock.h 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 */ -- 2.34.1