summaryrefslogtreecommitdiffstats
path: root/src/tools/tracegen/provider.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2018-05-09 20:51:12 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2018-06-28 16:29:14 +0000
commit5e39b832e23889af0a5d39586fd3ccf0b1882667 (patch)
treed724eb126df7a2c974c4d14261f306da70b835d1 /src/tools/tracegen/provider.h
parent40668b82f4609893322691cd3ba3446502cb06d3 (diff)
Tracegen: add support for pointers and intptr-like types
In general we want to support pointers and pointer-like types (intptr and its variations); the main use case is tracing an object's address. Adjust the lttgt generator to use hex formatting for this kind of aguments; ETW recognizes the pointer argument type automatically. Change-Id: I8249a49b6d0b2d468b84c0fbb7624625421cde9a Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/tools/tracegen/provider.h')
-rw-r--r--src/tools/tracegen/provider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tracegen/provider.h b/src/tools/tracegen/provider.h
index d8cbd2662d..9771e62f4d 100644
--- a/src/tools/tracegen/provider.h
+++ b/src/tools/tracegen/provider.h
@@ -59,8 +59,10 @@ struct Tracepoint
Array,
Sequence,
Integer,
+ IntegerHex,
Float,
String,
+ Pointer,
QtString,
QtByteArray,
QtUrl,