summaryrefslogtreecommitdiffstats
path: root/src/tools/perftool
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-12-19 13:07:49 -0800
committerFlorin Coras <fcoras@cisco.com>2018-12-19 23:42:09 -0800
commitaefbedeb5da326475230c31e75d0d9d6d0de8656 (patch)
tree3abb92bb3932b214b20b3d2ba7bbb910cf624c82 /src/tools/perftool
parent5c0f166aa077ee8f092c8003423571d1b67b049b (diff)
session: add cli option to dump session elog
Change-Id: I1f42644f143bb65ee764c0f869b402595126adac Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/tools/perftool')
-rw-r--r--src/tools/perftool/c2cpel.c2
-rw-r--r--src/tools/perftool/elog_merge.c3
2 files changed, 3 insertions, 2 deletions
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);
}
}