On 08/12/2010 05:36 AM, Stefan Hajnoczi wrote:
+linetoh_nop()
+{
+    local name args
+    name=$(get_name "$1")
+    args=$(get_args "$1")
+
+    # Define an empty function for the trace event
+    cat<<EOF
+static inline void trace_$name($args)
+{
+}

This seems like it can potentially create a single header that ends up needed to know about every type of structure QEMU implements, no? If so, this would be challenging for improving modularity.

Or would we restrict trace points to not allow passing of anything but void *s?

Regards,

Anthony Liguori


Reply via email to