traceWindow.h at the lttv top level
[lttv.git] / ltt / branches / poly / ltt / facility.h
CommitLineData
975e44c7 1
2#include <ltt/ltt.h>
3
4/* A facility is obtained from a .event file containing event type
5 declarations. The facility content must have the specified checksum.
6 The structures associated with a facility may be released with
7 a call to ltt_close_facility if its usage count is 0. */
8
9ltt_facility *ltt_facility_open(char *pathname, ltt_checksum c);
10
11int ltt_facility_close(ltt_facility *f);
12
13
14/* Obtain the name and checksum of the facility */
15
16char *ltt_facility_name(ltt_facility *f);
17
18ltt_checksum ltt_facility_checksum(ltt_facility *f);
19
20
21/* Discover the event types within the facility. The event type integer id
22 used here is specific to the trace (from 0 to nb_event_types - 1). */
23
24unsigned ltt_facility_eventtype_number(ltt_facility *f);
25
26ltt_eventtype *ltt_facility_eventtype_get(ltt_facility *f, unsigned i);
27
28ltt_eventtype *ltt_facility_eventtype_get_by_name(ltt_facility *f, char *name);
29
This page took 0.023348 seconds and 4 git commands to generate.