Cleanup: remove unused `lttng_bytecode_runtime::event` field
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 13 Dec 2019 15:17:30 +0000 (10:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Feb 2020 17:12:45 +0000 (12:12 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Id946b69e8cb4e79415d221f0be0889cfe707b439

include/lttng/ust-events.h
liblttng-ust/lttng-filter.c

index c1a851731a006eebfdf4fced1596d80d36df27fc..fd27396fb62f1a703c5854622763fd20e890053c 100644 (file)
@@ -432,7 +432,6 @@ struct lttng_bytecode_runtime {
        int link_failed;
        struct cds_list_head node;      /* list of bytecode runtime in event */
        struct lttng_session *session;
-       struct lttng_event *event;
 };
 
 /*
index ee562dd0f6a61a1193989ba7e27cf4cf046047cb..ed41a0efc12b277777523cbf4824346890927641 100644 (file)
@@ -438,7 +438,6 @@ int _lttng_filter_event_link_bytecode(struct lttng_event *event,
        }
        runtime->p.bc = filter_bytecode;
        runtime->p.session = event->chan->session;
-       runtime->p.event = event;
        runtime->len = filter_bytecode->bc.reloc_offset;
        /* copy original bytecode */
        memcpy(runtime->code, filter_bytecode->bc.data, runtime->len);
This page took 0.031408 seconds and 4 git commands to generate.