X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=trunk%2Flttv%2Fltt%2Fevent.h;h=8293d15fcf59c59c010604d2527a8037e95a034c;hb=551bf4859ac2f9df1e737987b3b8d3f7ae870fca;hp=0741e0edaa3b514fdf6371478d1b5bf50cb11f7d;hpb=750eb11ac3adbb2c4c3e6cf5323a523e9da7b8ae;p=lttv.git diff --git a/trunk/lttv/ltt/event.h b/trunk/lttv/ltt/event.h index 0741e0ed..8293d15f 100644 --- a/trunk/lttv/ltt/event.h +++ b/trunk/lttv/ltt/event.h @@ -47,7 +47,7 @@ struct LttEventPosition { uint64_t tsc; /* Current timestamp counter */ }; -static inline guint16 ltt_event_id(struct LttEvent *event) +static inline guint16 ltt_event_id(const struct LttEvent *event) { return event->event_id; }