Clean up packet tracer, especially "clear trace" 31/14331/3
authorDave Barach <dave@barachs.net>
Fri, 17 Aug 2018 22:29:07 +0000 (18:29 -0400)
committerDamjan Marion <dmarion@me.com>
Fri, 24 Aug 2018 19:03:12 +0000 (19:03 +0000)
There are multiple trace enablement schemes. It's easy to end up in
vlib_add_trace with tracing disabled insofar as the packet tracer is
concerned. When that happens, return the address of a per-system
dummy trace record.

Change-Id: I929391b8be4ed57e26e291afdc509a15f09a3160
Signed-off-by: Dave Barach <dave@barachs.net>

No differences found