X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fevent.h;h=88c036249e9328bf280046d6804b87a3ffdad616;hb=9878c8a4ce727f8a542a836ed289f5eb365d3292;hp=4cee97133a0106767817540f0b8791657c6c83e5;hpb=f95bc8309fe113855266f4445874248b6a285062;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);