Skip to content
  • Josh Kunz's avatar
    4b25a506
    linux-user: Use `qemu_log' for strace · 4b25a506
    Josh Kunz authored
    
    
    This change switches linux-user strace logging to use the newer `qemu_log`
    logging subsystem rather than the older `gemu_log` (notice the "g")
    logger. `qemu_log` has several advantages, namely that it allows logging
    to a file, and provides a more unified interface for configuration
    of logging (via the QEMU_LOG environment variable or options).
    
    This change introduces a new log mask: `LOG_STRACE` which is used for
    logging of user-mode strace messages.
    
    Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
    Signed-off-by: default avatarJosh Kunz <jkz@google.com>
    Message-Id: <20200204025416.111409-3-jkz@google.com>
    Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
    4b25a506
    linux-user: Use `qemu_log' for strace
    Josh Kunz authored
    
    
    This change switches linux-user strace logging to use the newer `qemu_log`
    logging subsystem rather than the older `gemu_log` (notice the "g")
    logger. `qemu_log` has several advantages, namely that it allows logging
    to a file, and provides a more unified interface for configuration
    of logging (via the QEMU_LOG environment variable or options).
    
    This change introduces a new log mask: `LOG_STRACE` which is used for
    logging of user-mode strace messages.
    
    Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
    Signed-off-by: default avatarJosh Kunz <jkz@google.com>
    Message-Id: <20200204025416.111409-3-jkz@google.com>
    Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
Loading