]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/perf/util/annotate.h
Merge branch 'tsc2007' into next
[karo-tx-linux.git] / tools / perf / util / annotate.h
index 87e4cadc5d2758ce4603428560c9f8548e4fc851..09776b5af991d3334fd35c1b9218999bdfda38da 100644 (file)
@@ -24,7 +24,8 @@ struct ins_operands {
                char    *raw;
                char    *name;
                u64     addr;
-               u64     offset;
+               s64     offset;
+               bool    offset_avail;
        } target;
        union {
                struct {
@@ -68,7 +69,7 @@ struct disasm_line {
 
 static inline bool disasm_line__has_offset(const struct disasm_line *dl)
 {
-       return dl->ops.target.offset != UINT64_MAX;
+       return dl->ops.target.offset_avail;
 }
 
 void disasm_line__free(struct disasm_line *dl);