X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fevent.h;h=873316897f92fc22cc9b5737aa136d38d8ee5405;hb=01e5c8ac303294105046b1383fe923ae28bd4890;hp=209ba36103f86348490f143c97491d5e3d4a00b8;hpb=2312de30ce2be53f81c4eaaa772ffff21511b509;p=lttv.git diff --git a/ltt/branches/poly/ltt/event.h b/ltt/branches/poly/ltt/event.h index 209ba361..87331689 100644 --- a/ltt/branches/poly/ltt/event.h +++ b/ltt/branches/poly/ltt/event.h @@ -1,5 +1,6 @@ /* This file is part of the Linux Trace Toolkit trace reading library * Copyright (C) 2003-2004 Michel Dagenais + * 2006 Mathieu Desnoyers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -98,6 +99,7 @@ guint64 ltt_event_field_element_number(LttEvent *e, LttField *f); LttField *ltt_event_field_element_select(LttEvent *e, LttField *f, gulong i); +off_t ltt_event_field_offset(LttEvent *e, LttField *f); /* A union is like a structure except that only a single member at a time is present depending on the specific event instance. This function tells @@ -127,7 +129,7 @@ double ltt_event_get_double(LttEvent *e, LttField *f); gchar *ltt_event_get_string(LttEvent *e, LttField *f); -void compute_offsets(LttTracefile *tf, LttEventType *event, off_t *offset, - void *root); +void compute_offsets(LttTracefile *tf, LttFacility *fac, + LttEventType *event, off_t *offset, void *root); #endif // EVENT_H