diff options
-rw-r--r-- | src/event-parse.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/event-parse.c b/src/event-parse.c index 18db7fc..e655087 100644 --- a/src/event-parse.c +++ b/src/event-parse.c @@ -6768,8 +6768,13 @@ static void data_latency_format(struct tep_handle *tep, struct trace_seq *s, (hardirq && softirq) ? 'H' : hardirq ? 'h' : softirq ? 's' : '.'); - if (pc) - trace_seq_printf(&sq, "%x", pc); + if (pc & 0xf) + trace_seq_printf(&sq, "%x", pc & 0xf); + else + trace_seq_printf(&sq, "."); + + if (pc & 0xf0) + trace_seq_printf(&sq, "%x", pc >> 4); else trace_seq_printf(&sq, "."); |