]> git.proxmox.com Git - mirror_qemu.git/blobdiff - trace/simple.c
cpu: expose qemu_cpu_list_lock for lock-guard use
[mirror_qemu.git] / trace / simple.c
index ac499edee0d5fb7b19c700525b9b524ca275f3bc..18af590cf7b1c8af556a3280984e1b807a0c196b 100644 (file)
@@ -364,7 +364,7 @@ void st_set_trace_file(const char *file)
 
     if (!file) {
         /* Type cast needed for Windows where getpid() returns an int. */
-        trace_file_name = g_strdup_printf(CONFIG_TRACE_FILE, (pid_t)getpid());
+        trace_file_name = g_strdup_printf(CONFIG_TRACE_FILE "-" FMT_pid, (pid_t)getpid());
     } else {
         trace_file_name = g_strdup_printf("%s", file);
     }