Displaying 2 results from an estimated 2 matches for "guestfs__get_trac".
Did you mean:
guestfs__get_trace
2009 Sep 09
2
[PATCH] Add command trace functionality
...the command trace flag.");
+
]
(* daemon_functions are any functions which cause some action
@@ -4630,6 +4656,52 @@ check_state (guestfs_h *g, const char *caller)
";
+ (* Generate code to generate guestfish call traces. *)
+ let trace_call shortname style =
+ pr " if (guestfs__get_trace (g)) {\n";
+
+ let needs_i =
+ List.exists (function
+ | StringList _ | DeviceList _ -> true
+ | _ -> false) (snd style) in
+ if needs_i then (
+ pr " int i;\n";
+ pr "\n"
+ );
+
+ pr " printf (\"%%s\", \"%...
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.