diff options
| author | Anthony Liguori | 2012-08-15 18:14:06 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2012-08-15 18:14:06 +0200 |
| commit | 8fa27d21a993e261137d15def5475ba2c4d8985b (patch) | |
| tree | acb9baa250763fe6befe5a3b928e9ab345b39fe7 /scripts | |
| parent | Merge remote-tracking branch 'origin/master' into staging (diff) | |
| parent | trace/simple: Replace asprintf by g_strdup_printf (diff) | |
| download | qemu-8fa27d21a993e261137d15def5475ba2c4d8985b.tar.gz qemu-8fa27d21a993e261137d15def5475ba2c4d8985b.tar.xz qemu-8fa27d21a993e261137d15def5475ba2c4d8985b.zip | |
Merge remote-tracking branch 'stefanha/tracing' into staging
* stefanha/tracing:
trace/simple: Replace asprintf by g_strdup_printf
trace/simple: Fix compiler warning for 32 bit hosts
trace: avoid pointer aliasing in trace_record_finish()
trace: drop unused TraceBufferRecord->next_tbuf_idx field
trace: remove unnecessary write_to_buffer() typecasting
trace: rename TraceRecordHeader to TraceLogHeader
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/tracetool/backend/simple.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tracetool/backend/simple.py b/scripts/tracetool/backend/simple.py index c7e47d6d72..e4b4a7f05d 100644 --- a/scripts/tracetool/backend/simple.py +++ b/scripts/tracetool/backend/simple.py @@ -79,7 +79,7 @@ def c(events): ) # pointer var (not string) elif type_.endswith('*'): - out(' trace_record_write_u64(&rec, (uint64_t)(uint64_t *)%(name)s);', + out(' trace_record_write_u64(&rec, (uintptr_t)(uint64_t *)%(name)s);', name = name, ) # primitive data type |
