From aefbedeb5da326475230c31e75d0d9d6d0de8656 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 19 Dec 2018 13:07:49 -0800 Subject: session: add cli option to dump session elog Change-Id: I1f42644f143bb65ee764c0f869b402595126adac Signed-off-by: Florin Coras --- src/tools/perftool/c2cpel.c | 2 +- src/tools/perftool/elog_merge.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/tools/perftool') diff --git a/src/tools/perftool/c2cpel.c b/src/tools/perftool/c2cpel.c index e68d0dcaad2..35885debef8 100644 --- a/src/tools/perftool/c2cpel.c +++ b/src/tools/perftool/c2cpel.c @@ -105,7 +105,7 @@ void convert_clib_file(char *clib_file) ep->event_id = find_or_add_event(brief_event_name, "%s"); - track_name = format (0, "%U%c", format_elog_track, em, e, 0); + track_name = format (0, "%U%c", format_elog_track_name, em, e, 0); ep->track_id = find_or_add_track (track_name); diff --git a/src/tools/perftool/elog_merge.c b/src/tools/perftool/elog_merge.c index 46b19dd507e..862b6deb782 100644 --- a/src/tools/perftool/elog_merge.c +++ b/src/tools/perftool/elog_merge.c @@ -121,7 +121,8 @@ elog_merge_main (unformat_input_t * input) vec_foreach (e, es) { clib_warning ("%18.9f: %12U %U\n", e->time, - format_elog_track, em, e, format_elog_event, em, e); + format_elog_track_name, em, e, format_elog_event, em, + e); } } -- cgit 1.2.3-korg