Update kerneldb.
[virt-mem.git] / extract / codegen / pahole_parser.mli
index 8444e5f..1bbd701 100644 (file)
@@ -125,9 +125,14 @@ val transpose : string list ->
       The first parameter is the list of structure names of interest,
       and should be the same as was passed to {!load_structures}. *)
 
-val get_fields : (info * structure) list -> (string * f_type) list
+val get_fields : (info * structure) list -> (string * (f_type * bool)) list
   (** This gets a complete list of fields which have appeared in
-      any kernel version, and the type of those fields.
+      any kernel version.
+
+      The return list contains [(field_name, (field_type,
+      always_present))] where [always_present] is a boolean flag which
+      is true if the field is present in every kernel version we
+      examined.
 
       Fields must not change type between kernel versions - if
       so this function prints an error and exits. (We may support