projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add empty plug-in hooks to prevent their elimination by the linker
[babeltrace.git]
/
formats
/
ctf-text
/
ctf-text.c
diff --git
a/formats/ctf-text/ctf-text.c
b/formats/ctf-text/ctf-text.c
index a0b423c2254d4793b5298131a262d4d458b5e478..f6151617450c760e2e9fe354aa64c497e39d6a54 100644
(file)
--- a/
formats/ctf-text/ctf-text.c
+++ b/
formats/ctf-text/ctf-text.c
@@
-139,6
+139,14
@@
struct ctf_callsite_dups *ctf_trace_callsite_lookup(struct ctf_trace *trace,
(gpointer) (unsigned long) callsite_name);
}
(gpointer) (unsigned long) callsite_name);
}
+void bt_ctf_text_hook(void)
+{
+ /*
+ * Dummy function to prevent the linker from discarding this format as
+ * "unused" in static builds.
+ */
+}
+
int print_field(struct bt_definition *definition)
{
/* Print all fields in verbose mode */
int print_field(struct bt_definition *definition)
{
/* Print all fields in verbose mode */
This page took
0.023273 seconds
and
4
git commands to generate.