qemu-e2k/scripts/tracetool/backend
Philippe Mathieu-Daudé 82c4f87e0e trace: Fix format string for the struct timeval members casted to size_t
This fixes when using GCC with -Wformat-signedness:

    migration/trace.h: In function ‘_nocheck__trace_dirty_bitmap_load_success’:
    migration/trace.h:6368:24: error: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘long unsigned int’ [-Werror=format=]
      qemu_log("%d@%zd.%06zd:dirty_bitmap_load_success " "" "\n",
                   ~~^
                   %ld
    migration/trace.h:6370:18:
               (size_t)_now.tv_sec, (size_t)_now.tv_usec
               ~~~~~~~~~~~~~~~~~~~
    migration/trace.h:6368:30: error: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 4 has type ‘long unsigned int’ [-Werror=format=]
      qemu_log("%d@%zd.%06zd:dirty_bitmap_load_success " "" "\n",
                       ~~~~^
                       %06ld
    migration/trace.h:6370:39:
               (size_t)_now.tv_sec, (size_t)_now.tv_usec
                                    ~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-29 15:04:18 +01:00
..
__init__.py trace: add TRACE_<event>_BACKEND_DSTATE() 2017-08-01 12:07:48 +01:00
dtrace.py trace: add TRACE_<event>_BACKEND_DSTATE() 2017-08-01 12:07:48 +01:00
ftrace.py trace: add TRACE_<event>_BACKEND_DSTATE() 2017-08-01 12:07:48 +01:00
log.py trace: Fix format string for the struct timeval members casted to size_t 2018-06-29 15:04:18 +01:00
simple.py trace: add TRACE_<event>_BACKEND_DSTATE() 2017-08-01 12:07:48 +01:00
syslog.py trace: add TRACE_<event>_BACKEND_DSTATE() 2017-08-01 12:07:48 +01:00
ust.py trace: add TRACE_<event>_BACKEND_DSTATE() 2017-08-01 12:07:48 +01:00