X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;fp=formats%2Fctf-text%2Fctf-text.c;h=f6151617450c760e2e9fe354aa64c497e39d6a54;hp=a0b423c2254d4793b5298131a262d4d458b5e478;hb=7e3e3582f6fc79c97b07fad7fa7019e8a80aeb0e;hpb=50b02c873391f0f600efc63cb926e337cc554bee diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index a0b423c2..f6151617 100644 --- 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); } +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 */