summary refs log tree commit diff stats
path: root/scripts/render_block_graph.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-01-29 10:53:43 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2019-01-30 10:57:03 +0800
commit57b7bdf426445d8356171135308dfe6d7d5fb612 (patch)
tree773465e5e9759f10d24c2040c8f6156f3f5c0d0a /scripts/render_block_graph.py
parentff12e3ae3d052e11538c40a2b92d9b6db3b5520b (diff)
downloadfocaccia-qemu-57b7bdf426445d8356171135308dfe6d7d5fb612.tar.gz
focaccia-qemu-57b7bdf426445d8356171135308dfe6d7d5fb612.zip
trace: rerun tracetool after ./configure changes
Autogenerated code in trace.h/trace.c and friends is specific to the
config-host.mak TRACE_BACKENDS setting and must be regenerated when
./configure --enable-trace-backend= changes settings.

This patch ensures that changes to TRACE_BACKENDS are detected.  For
example, the trace-root.h file is now updated after switching trace
backends:

  $ ./configure && make
  $ cp trace-root.h /tmp/old-trace-root.h
  $ ./configure --enable-trace-backend=simple && make
  $ diff -u /tmp/old-trace-root.h trace-root.h

Reported-by: Christophe Lyon <christophe.lyon@st.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20190129025343.4788-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions