Messages in this thread Patch in this message | | | From | Darren Hart <> | Subject | [PATCH 1/3] trace-graph: fix printf compile warnings | Date | Mon, 1 Feb 2010 08:50:24 -0800 |
| |
Signed-off-by: Darren Hart <dvhltc@us.ibm.com> --- trace-graph.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/trace-graph.c b/trace-graph.c index 135e516..1759163 100644 --- a/trace-graph.c +++ b/trace-graph.c @@ -886,13 +886,13 @@ static void draw_cpu_info(struct graph_info *ginfo, gint cpu, gint x, gint y) trace_seq_init(&s); - dprintf(3, "start=%zu end=%zu time=%lu\n", ginfo->start_time, ginfo->end_time, time); + dprintf(3, "start=%llu end=%llu time=%llu\n", ginfo->start_time, ginfo->end_time, time); record = find_record_on_cpu(ginfo, cpu, time); if (record) { - dprintf(3, "record->ts=%llu time=%zu-%zu\n", + dprintf(3, "record->ts=%llu time=%llu-%llu\n", record->ts, time, time-(gint)(1/ginfo->resolution)); print_rec_info(record, pevent, cpu); -- 1.6.3.3
| |