X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fevent.h;h=88c036249e9328bf280046d6804b87a3ffdad616;hb=96da5c0d83846884f7be822410209325a2dd0e51;hp=4cee97133a0106767817540f0b8791657c6c83e5;hpb=8697a6160b43edb71b38010053fe8da840fa7c34;p=lttv.git diff --git a/ltt/branches/poly/ltt/event.h b/ltt/branches/poly/ltt/event.h index 4cee9713..88c03624 100644 --- a/ltt/branches/poly/ltt/event.h +++ b/ltt/branches/poly/ltt/event.h @@ -69,7 +69,11 @@ void ltt_event_position_get(LttEventPosition *ep, void ltt_event_position_set(LttEventPosition *ep, unsigned block_number, unsigned index_in_block); +gint ltt_event_position_compare(const LttEventPosition *ep1, + const LttEventPosition *ep2); +gint ltt_event_event_position_compare(const LttEvent *event, + const LttEventPosition *ep); /* CPU id of the event */ unsigned ltt_event_cpu_id(LttEvent *e);