1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 Xiangxiu Yang
3 * 2005 Mathieu Desnoyers
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License Version 2.1 as published by the Free Software Foundation.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
28 #include <sys/types.h>
36 #include "ltt-private.h"
37 #include <ltt/facility.h>
45 /* search for the (named) type in the table, if it does not exist
47 LttType
* lookup_named_type(LttFacility
*fac
, type_descriptor_t
* td
);
49 /* construct directed acyclic graph for types, and tree for fields */
50 void construct_fields(LttFacility
*fac
,
54 /* generate the facility according to the events belongin to it */
55 void generateFacility(LttFacility
* f
, facility_t
* fac
,
58 /* functions to release the memory occupied by a facility */
59 void freeFacility(LttFacility
* facility
);
60 void freeEventtype(LttEventType
* evType
);
61 void freeLttType(LttType
* type
);
62 void freeLttField(LttField
* fld
);
63 void freeLttNamedType(LttType
* type
);
66 /*****************************************************************************
68 * ltt_facility_open : open facilities
70 * t : the trace containing the facilities
71 * pathname : the path name of the facility
73 * Open the facility corresponding to the right checksum.
75 *returns 0 on success, 1 on error.
76 ****************************************************************************/
78 int ltt_facility_open(LttFacility
*f
, LttTrace
* t
, gchar
* pathname
)
84 unsigned int checksum
;
85 gchar buffer
[BUFFER_SIZE
];
86 gboolean generated
= FALSE
;
88 in
.buffer
= &(buffer
[0]);
90 in
.error
= error_callback
;
94 in
.fp
= fopen(in
.name
, "r");
96 g_warning("cannot open facility description file %s",
103 token
= getToken(&in
);
104 if(in
.type
== ENDFILE
) break;
106 if(g_ascii_strcasecmp(token
, "<")) in
.error(&in
,"not a facility file");
107 token
= getName(&in
);
109 if(g_ascii_strcasecmp("facility",token
) == 0) {
110 fac
= g_new(facility_t
, 1);
112 fac
->description
= NULL
;
113 sequence_init(&(fac
->events
));
114 table_init(&(fac
->named_types
));
115 sequence_init(&(fac
->unnamed_types
));
117 parseFacility(&in
, fac
);
119 //check if any namedType is not defined
120 checkNamedTypesImplemented(&fac
->named_types
);
122 generateChecksum(fac
->name
, &checksum
, &fac
->events
);
124 if(checksum
== f
->checksum
) {
125 generateFacility(f
, fac
, checksum
);
131 g_free(fac
->description
);
132 freeEvents(&fac
->events
);
133 sequence_dispose(&fac
->events
);
134 freeNamedType(&fac
->named_types
);
135 table_dispose(&fac
->named_types
);
136 freeTypes(&fac
->unnamed_types
);
137 sequence_dispose(&fac
->unnamed_types
);
139 if(generated
) break; /* use the first good match */
142 g_warning("facility token was expected in file %s", in
.name
);
153 g_warning("Cannot find facility %s, checksum 0x%X",
154 g_quark_to_string(f
->name
), f
->checksum
);
162 /*****************************************************************************
164 * generateFacility : generate facility, internal function
166 * facility : LttFacilty structure
167 * fac : facility structure
168 * checksum : checksum of the facility
169 ****************************************************************************/
171 void generateFacility(LttFacility
*f
, facility_t
*fac
, guint32 checksum
)
173 char * facilityName
= fac
->name
;
174 sequence_t
* events
= &fac
->events
;
177 table_t
*named_types
= &fac
->named_types
;
179 g_assert(f
->name
== g_quark_from_string(facilityName
));
180 g_assert(f
->checksum
== checksum
);
182 //f->event_number = events->position;
184 //initialize inner structures
185 f
->events
= g_array_sized_new (FALSE
, TRUE
, sizeof(LttEventType
),
187 //f->events = g_new(LttEventType*,f->event_number);
188 f
->events
= g_array_set_size(f
->events
, events
->position
);
190 g_datalist_init(&f
->events_by_name
);
191 // g_datalist_init(&f->named_types);
193 /* The first day, he created the named types */
195 for(i
=0; i
<named_types
->keys
.position
; i
++) {
196 GQuark name
= g_quark_from_string((char*)named_types
->keys
.array
[i
]);
197 type_descriptor_t
*td
= (type_descriptor_t
*)named_types
->values
.array
[i
];
199 /* Create the type */
200 type
= g_new(LttType
,1);
201 type
->type_name
= name
;
202 type
->type_class
= td
->type
;
203 if(td
->fmt
) type
->fmt
= g_strdup(td
->fmt
);
204 else type
->fmt
= NULL
;
205 type
->size
= td
->size
;
206 type
->enum_strings
= NULL
;
207 type
->element_type
= NULL
;
208 type
->element_number
= 0;
210 construct_types_and_fields(type
, td
, NULL
, NULL
, ...);
212 g_datalist_id_set_data_full(&fac
->named_types
, name
,
213 type
, (GDestroyNotify
)freeLttNamedType
);
217 /* The second day, he created the event fields and types */
218 //for each event, construct field and type acyclic graph
219 for(i
=0;i
<events
->position
;i
++){
220 event_t
*parser_event
= (event_t
*)events
->array
[i
];
221 LttEventType
*event_type
= &g_array_index(f
->events
, LttEventType
, i
);
224 g_quark_from_string(parser_event
->name
);
226 g_datalist_id_set_data(&f
->events_by_name
, event_type
->name
,
229 event_type
->description
=
230 g_strdup(parser_event
->description
);
232 event_type
->index
= i
;
233 event_type
->facility
= f
;
235 event_type
->fields
= g_array_sized_new(FALSE
, TRUE
,
236 sizeof(LttField
), parser_event
->fields
.position
);
238 g_array_set_size(event_type
->fields
, parser_event
->fields
.position
);
239 g_datalist_init(&event_type
->fields_by_name
);
241 for(j
=0; j
<parser_event
->fields
.position
; j
++) {
242 LttField
*field
= &g_array_index(event_type
->fields
, LttField
, j
);
243 field_t
*parser_field
= (field_t
*)parser_event
->fields
.array
[j
];
245 construct_fields(f
, field
, parser_field
);
246 g_datalist_id_set_data(&event_type
->fields_by_name
,
252 /* What about 2 days weeks ? */
256 /*****************************************************************************
258 * construct_types_and_fields : construct field tree and type graph,
259 * internal recursion function
261 * fac : facility struct
262 * field : destination lttv field
263 * fld : source parser field
264 ****************************************************************************/
267 //make the change for arrays and sequences
268 //no more root field. -> change this for an array of fields.
269 // Compute the field size here.
270 // Flag fields as "VARIABLE OFFSET" or "FIXED OFFSET" : as soon as
271 // a field with a variable size is found, all the following fields must
272 // be flagged with "VARIABLE OFFSET", this will be done by the offset
276 void construct_fields(LttFacility
*fac
,
281 type_descriptor_t
*td
;
284 field
->name
= g_quark_from_string(fld
->name
);
285 if(fld
->description
) {
286 len
= strlen(fld
->description
);
287 field
->description
= g_new(gchar
, len
+1);
288 strcpy(field
->description
, fld
->description
);
290 field
->dynamic_offsets
= NULL
;
291 type
= &field
->field_type
;
294 type
->enum_map
= NULL
;
296 type
->fields_by_name
= NULL
;
297 type
->network
= td
->network
;
301 type
->type_class
= LTT_INT_FIXED
;
302 type
->size
= td
->size
;
305 type
->type_class
= LTT_UINT_FIXED
;
306 type
->size
= td
->size
;
309 type
->type_class
= LTT_POINTER
;
310 type
->size
= fac
->pointer_size
;
313 type
->type_class
= LTT_CHAR
;
314 type
->size
= td
->size
;
317 type
->type_class
= LTT_UCHAR
;
318 type
->size
= td
->size
;
319 g_assert(type
->size
!= 0);
322 type
->type_class
= LTT_SHORT
;
323 type
->size
= td
->size
;
326 type
->type_class
= LTT_USHORT
;
327 type
->size
= td
->size
;
330 type
->type_class
= LTT_INT
;
331 type
->size
= fac
->int_size
;
334 type
->type_class
= LTT_UINT
;
335 type
->size
= fac
->int_size
;
336 g_assert(type
->size
!= 0);
339 type
->type_class
= LTT_LONG
;
340 type
->size
= fac
->long_size
;
343 type
->type_class
= LTT_ULONG
;
344 type
->size
= fac
->long_size
;
347 type
->type_class
= LTT_SIZE_T
;
348 type
->size
= fac
->size_t_size
;
351 type
->type_class
= LTT_SSIZE_T
;
352 type
->size
= fac
->size_t_size
;
355 type
->type_class
= LTT_OFF_T
;
356 type
->size
= fac
->size_t_size
;
359 type
->type_class
= LTT_FLOAT
;
360 type
->size
= td
->size
;
363 type
->type_class
= LTT_STRING
;
367 type
->type_class
= LTT_ENUM
;
368 type
->size
= fac
->int_size
;
371 type
->enum_map
= g_hash_table_new(g_direct_hash
, g_direct_equal
);
372 for(i
=0; i
<td
->labels
.position
; i
++) {
373 GQuark value
= g_quark_from_string((char*)td
->labels
.array
[i
]);
374 gint key
= *(int*)td
->labels_values
.array
[i
];
375 g_hash_table_insert(type
->enum_map
, (gpointer
)key
, (gpointer
)value
);
378 g_assert(type
->size
!= 0);
381 type
->type_class
= LTT_ARRAY
;
382 type
->size
= td
->size
;
383 type
->fields
= g_array_sized_new(FALSE
, TRUE
, sizeof(LttField
),
384 td
->fields
.position
);
385 type
->fields
= g_array_set_size(type
->fields
, td
->fields
.position
);
389 for(i
=0; i
<td
->fields
.position
; i
++) {
390 field_t
*schild
= (field_t
*)td
->fields
.array
[i
];
391 LttField
*dchild
= &g_array_index(type
->fields
, LttField
, i
);
393 construct_fields(fac
, dchild
, schild
);
398 type
->type_class
= LTT_SEQUENCE
;
400 type
->fields
= g_array_sized_new(FALSE
, TRUE
, sizeof(LttField
),
401 td
->fields
.position
);
402 type
->fields
= g_array_set_size(type
->fields
, td
->fields
.position
);
406 for(i
=0; i
<td
->fields
.position
; i
++) {
407 field_t
*schild
= (field_t
*)td
->fields
.array
[i
];
408 LttField
*dchild
= &g_array_index(type
->fields
, LttField
, i
);
410 construct_fields(fac
, dchild
, schild
);
415 type
->type_class
= LTT_STRUCT
;
416 type
->size
= 0; // Size not calculated by the parser.
417 type
->fields
= g_array_sized_new(FALSE
, TRUE
, sizeof(LttField
),
418 td
->fields
.position
);
419 type
->fields
= g_array_set_size(type
->fields
, td
->fields
.position
);
420 g_datalist_init(&type
->fields_by_name
);
424 for(i
=0; i
<td
->fields
.position
; i
++) {
425 field_t
*schild
= (field_t
*)td
->fields
.array
[i
];
426 LttField
*dchild
= &g_array_index(type
->fields
, LttField
, i
);
428 construct_fields(fac
, dchild
, schild
);
429 g_datalist_id_set_data(&type
->fields_by_name
,
436 type
->type_class
= LTT_UNION
;
437 type
->size
= 0; // Size not calculated by the parser.
438 type
->fields
= g_array_sized_new(FALSE
, TRUE
, sizeof(LttField
),
439 td
->fields
.position
);
440 type
->fields
= g_array_set_size(type
->fields
, td
->fields
.position
);
441 g_datalist_init(&type
->fields_by_name
);
445 for(i
=0; i
<td
->fields
.position
; i
++) {
446 field_t
*schild
= (field_t
*)td
->fields
.array
[i
];
447 LttField
*dchild
= &g_array_index(type
->fields
, LttField
, i
);
449 construct_fields(fac
, dchild
, schild
);
450 g_datalist_id_set_data(&type
->fields_by_name
,
458 g_error("construct_fields : unknown type");
461 field
->field_size
= type
->size
;
463 /* Put the fields as "variable" offset to root first. Then,
464 * the offset precomputation will only have to set the FIELD_FIXED until
465 * it reaches the first variable length field, then stop.
467 field
->fixed_root
= FIELD_VARIABLE
;
470 len
= strlen(td
->fmt
);
471 type
->fmt
= g_new(gchar
, len
+1);
472 strcpy(type
->fmt
, td
->fmt
);
479 void construct_types_and_fields(LttFacility
* fac
, type_descriptor_t
* td
,
483 type_descriptor_t
* tmpTd
;
489 fld
->field_type
->size
= td
->size
;
497 fld
->field_type
->size
= 0;
500 fld
->field_type
->size
= 0;
503 fld
->field_type
->element_number
= td
->labels
.position
;
504 fld
->field_type
->enum_strings
= g_new(GQuark
,td
->labels
.position
);
505 for(i
=0;i
<td
->labels
.position
;i
++){
506 fld
->field_type
->enum_strings
[i
]
507 = g_quark_from_string(((char*)(td
->labels
.array
[i
])));
509 fld
->field_type
->size
= td
->size
;
513 fld
->field_type
->element_number
= (unsigned)td
->size
;
515 fld
->field_type
->element_type
= g_new(LttType
*,1);
516 tmpTd
= td
->nested_type
;
517 fld
->field_type
->element_type
[0] = lookup_named_type(fac
, tmpTd
);
518 fld
->child
= g_new(LttField
*, 1);
519 fld
->child
[0] = g_new(LttField
, 1);
521 fld
->child
[0]->field_type
= fld
->field_type
->element_type
[0];
522 fld
->child
[0]->offset_root
= 0;
523 fld
->child
[0]->fixed_root
= FIELD_UNKNOWN
;
524 fld
->child
[0]->offset_parent
= 0;
525 fld
->child
[0]->fixed_parent
= FIELD_UNKNOWN
;
526 fld
->child
[0]->field_size
= 0;
527 fld
->child
[0]->fixed_size
= FIELD_UNKNOWN
;
528 fld
->child
[0]->parent
= fld
;
529 fld
->child
[0]->child
= NULL
;
530 fld
->child
[0]->current_element
= 0;
531 construct_types_and_fields(fac
, tmpTd
, fld
->child
[0]);
536 fld
->field_type
->element_number
= td
->fields
.position
;
538 g_assert(fld
->field_type
->element_type
== NULL
);
539 fld
->field_type
->element_type
= g_new(LttType
*, td
->fields
.position
);
541 fld
->child
= g_new(LttField
*, td
->fields
.position
);
542 for(i
=0;i
<td
->fields
.position
;i
++){
543 tmpTd
= ((field_t
*)(td
->fields
.array
[i
]))->type
;
545 fld
->field_type
->element_type
[i
] = lookup_named_type(fac
, tmpTd
);
546 fld
->child
[i
] = g_new(LttField
,1);
548 // fld->child[i]->field_pos = i;
549 fld
->child
[i
]->field_type
= fld
->field_type
->element_type
[i
];
551 fld
->child
[i
]->field_type
->element_name
552 = g_quark_from_string(((field_t
*)(td
->fields
.array
[i
]))->name
);
554 fld
->child
[i
]->offset_root
= 0;
555 fld
->child
[i
]->fixed_root
= FIELD_UNKNOWN
;
556 fld
->child
[i
]->offset_parent
= 0;
557 fld
->child
[i
]->fixed_parent
= FIELD_UNKNOWN
;
558 fld
->child
[i
]->field_size
= 0;
559 fld
->child
[i
]->fixed_size
= FIELD_UNKNOWN
;
560 fld
->child
[i
]->parent
= fld
;
561 fld
->child
[i
]->child
= NULL
;
562 fld
->child
[i
]->current_element
= 0;
563 construct_types_and_fields(fac
, tmpTd
, fld
->child
[i
]);
568 g_error("construct_types_and_fields : unknown type");
577 void construct_types_and_fields(LttFacility
* fac
, type_descriptor
* td
,
581 type_descriptor
* tmpTd
;
583 // if(td->type == LTT_STRING || td->type == LTT_SEQUENCE)
584 // fld->field_size = 0;
585 // else fld->field_size = -1;
587 if(td
->type
== LTT_ENUM
){
588 fld
->field_type
->element_number
= td
->labels
.position
;
589 fld
->field_type
->enum_strings
= g_new(GQuark
,td
->labels
.position
);
590 for(i
=0;i
<td
->labels
.position
;i
++){
591 fld
->field_type
->enum_strings
[i
]
592 = g_quark_from_string(((char*)(td
->labels
.array
[i
])));
594 }else if(td
->type
== LTT_ARRAY
|| td
->type
== LTT_SEQUENCE
){
595 if(td
->type
== LTT_ARRAY
)
596 fld
->field_type
->element_number
= (unsigned)td
->size
;
597 fld
->field_type
->element_type
= g_new(LttType
*,1);
598 tmpTd
= td
->nested_type
;
599 fld
->field_type
->element_type
[0] = lookup_named_type(fac
, tmpTd
);
600 fld
->child
= g_new(LttField
*, 1);
601 fld
->child
[0] = g_new(LttField
, 1);
603 // fld->child[0]->field_pos = 0;
604 fld
->child
[0]->field_type
= fld
->field_type
->element_type
[0];
605 fld
->child
[0]->offset_root
= fld
->offset_root
;
606 fld
->child
[0]->fixed_root
= fld
->fixed_root
;
607 fld
->child
[0]->offset_parent
= 0;
608 fld
->child
[0]->fixed_parent
= 1;
609 // fld->child[0]->base_address = NULL;
610 fld
->child
[0]->field_size
= 0;
611 fld
->child
[0]->field_fixed
= -1;
612 fld
->child
[0]->parent
= fld
;
613 fld
->child
[0]->child
= NULL
;
614 fld
->child
[0]->current_element
= 0;
615 construct_types_and_fields(fac
, tmpTd
, fld
->child
[0]);
616 }else if(td
->type
== LTT_STRUCT
){
617 fld
->field_type
->element_number
= td
->fields
.position
;
619 if(fld
->field_type
->element_type
== NULL
){
620 fld
->field_type
->element_type
= g_new(LttType
*, td
->fields
.position
);
626 fld
->child
= g_new(LttField
*, td
->fields
.position
);
627 for(i
=0;i
<td
->fields
.position
;i
++){
628 tmpTd
= ((type_fields
*)(td
->fields
.array
[i
]))->type
;
631 fld
->field_type
->element_type
[i
] = lookup_named_type(fac
, tmpTd
);
632 fld
->child
[i
] = g_new(LttField
,1);
634 fld
->child
[i
]->field_pos
= i
;
635 fld
->child
[i
]->field_type
= fld
->field_type
->element_type
[i
];
638 fld
->child
[i
]->field_type
->element_name
639 = g_quark_from_string(((type_fields
*)(td
->fields
.array
[i
]))->name
);
642 fld
->child
[i
]->offset_root
= -1;
643 fld
->child
[i
]->fixed_root
= -1;
644 fld
->child
[i
]->offset_parent
= -1;
645 fld
->child
[i
]->fixed_parent
= -1;
646 // fld->child[i]->base_address = NULL;
647 fld
->child
[i
]->field_size
= 0;
648 fld
->child
[i
]->field_fixed
= -1;
649 fld
->child
[i
]->parent
= fld
;
650 fld
->child
[i
]->child
= NULL
;
651 fld
->child
[i
]->current_element
= 0;
652 construct_types_and_fields(fac
, tmpTd
, fld
->child
[i
]);
659 /*****************************************************************************
661 * lookup_named_type: search named type in the table
664 * fac : facility struct
667 * : either find the named type, or create a new LttType
668 ****************************************************************************/
670 LttType
* lookup_named_type(LttFacility
*fac
, GQuark type_name
)
672 LttType
*type
= NULL
;
675 type
= g_datalist_id_get_data(&fac
->named_types
, name
);
677 g_assert(type
!= NULL
);
680 /* Create the type */
681 type
= g_new(LttType
,1);
682 type
->type_name
= name
;
683 type
->type_class
= td
->type
;
684 if(td
->fmt
) type
->fmt
= g_strdup(td
->fmt
);
685 else type
->fmt
= NULL
;
686 type
->size
= td
->size
;
687 type
->enum_strings
= NULL
;
688 type
->element_type
= NULL
;
689 type
->element_number
= 0;
691 if(td
->type_name
!= NULL
)
692 g_datalist_id_set_data_full(&fac
->named_types
, name
,
693 type
, (GDestroyNotify
)freeLttNamedType
);
700 /*****************************************************************************
702 * ltt_facility_close : close a facility, decrease its usage count,
703 * if usage count = 0, release the memory
705 * f : facility that will be closed
706 ****************************************************************************/
708 void ltt_facility_close(LttFacility
*f
)
710 //release the memory it occupied
714 /*****************************************************************************
715 * Functions to release the memory occupied by the facility
716 ****************************************************************************/
718 void freeFacility(LttFacility
* fac
)
723 for(i
=0; i
<fac
->events
->len
; i
++) {
724 et
= &g_array_index (fac
->events
, LttEventType
, i
);
727 g_array_free(fac
->events
, TRUE
);
729 g_datalist_clear(&fac
->events_by_name
);
731 // g_datalist_clear(&fac->named_types);
734 void freeEventtype(LttEventType
* evType
)
738 if(evType
->description
)
739 g_free(evType
->description
);
741 for(i
=0; i
<evType
->fields
->len
;i
++) {
742 LttField
*field
= &g_array_index(evType
->fields
, LttField
, i
);
745 g_array_free(evType
->fields
, TRUE
);
746 g_datalist_clear(&evType
->fields_by_name
);
749 void freeLttType(LttType
* type
)
757 g_hash_table_destroy(type
->enum_map
);
760 for(i
=0; i
<type
->fields
->len
; i
++) {
761 freeLttField(&g_array_index(type
->fields
, LttField
, i
));
763 g_array_free(type
->fields
, TRUE
);
765 if(type
->fields_by_name
)
766 g_datalist_clear(&type
->fields_by_name
);
769 void freeLttNamedType(LttType
* type
)
774 void freeLttField(LttField
* field
)
776 if(field
->description
)
777 g_free(field
->description
);
778 if(field
->dynamic_offsets
)
779 g_array_free(field
->dynamic_offsets
, TRUE
);
780 freeLttType(&field
->field_type
);
783 /*****************************************************************************
785 * ltt_facility_name : obtain the facility's name
789 * GQuark : the facility's name
790 ****************************************************************************/
792 GQuark
ltt_facility_name(LttFacility
*f
)
797 /*****************************************************************************
799 * ltt_facility_checksum : obtain the facility's checksum
803 * : the checksum of the facility
804 ****************************************************************************/
806 guint32
ltt_facility_checksum(LttFacility
*f
)
811 /*****************************************************************************
813 * ltt_facility_base_id : obtain the facility base id
817 * : the base id of the facility
818 ****************************************************************************/
820 guint
ltt_facility_id(LttFacility
*f
)
825 /*****************************************************************************
827 * ltt_facility_eventtype_number: obtain the number of the event types
829 * f : the facility that will be closed
831 * : the number of the event types
832 ****************************************************************************/
834 guint8
ltt_facility_eventtype_number(LttFacility
*f
)
836 return (f
->events
->len
);
839 /*****************************************************************************
841 * ltt_facility_eventtype_get: obtain the event type according to event id
842 * from 0 to event_number - 1
844 * f : the facility that will be closed
846 * LttEventType * : the event type required
847 ****************************************************************************/
849 LttEventType
*ltt_facility_eventtype_get(LttFacility
*f
, guint8 i
)
851 if(!f
->exists
) return NULL
;
853 g_assert(i
< f
->events
->len
);
854 return &g_array_index(f
->events
, LttEventType
, i
);
857 /*****************************************************************************
859 * ltt_facility_eventtype_get_by_name
860 * : obtain the event type according to event name
861 * event name is unique in the facility
864 * name : the name of the event
866 * LttEventType * : the event type required
867 ****************************************************************************/
869 LttEventType
*ltt_facility_eventtype_get_by_name(LttFacility
*f
, GQuark name
)
871 LttEventType
*et
= g_datalist_id_get_data(&f
->events_by_name
, name
);
This page took 0.168476 seconds and 4 git commands to generate.