Skip to content

Commit

Permalink
adds -tracewrap suffix to version and uses QEMU_FULL_VERSION in trace
Browse files Browse the repository at this point in the history
  • Loading branch information
thestr4ng3r authored and ivg committed Feb 15, 2022
1 parent 0ca8aac commit 8f232fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/qemu-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu

dir="$1"
pkgversion="$2"
version="$3"
version="$3-tracewrap"

if [ -z "$pkgversion" ]; then
cd "$dir"
Expand Down
3 changes: 2 additions & 1 deletion tracewrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <glib.h>
#include <err.h>
#include "qemu/log.h"
#include "qemu-version.h"

#include <sys/types.h>
#include <unistd.h>
Expand All @@ -15,7 +16,7 @@


char tracer_name[] = "qemu";
char tracer_version[] = "2.0.0/tracewrap";
char tracer_version[] = QEMU_FULL_VERSION;

static Frame * g_frame;
static uint64_t frames_per_toc_entry = 64LL;
Expand Down

0 comments on commit 8f232fe

Please sign in to comment.