summaryrefslogtreecommitdiffstats
path: root/lib/libfrr_trace.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-09-28 21:49:22 +0200
committerQuentin Young <qlyoung@nvidia.com>2020-10-23 21:13:51 +0200
commit912d45a1610dc7ec14017a2d8618ad357e89370e (patch)
tree4decb6683b6c781e028630cd959eab75fcdc7c7f /lib/libfrr_trace.c
parentlib: add tracepoint for route table get (diff)
downloadfrr-912d45a1610dc7ec14017a2d8618ad357e89370e.tar.xz
frr-912d45a1610dc7ec14017a2d8618ad357e89370e.zip
lib: move trace.h -> libfrr_trace.h
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'lib/libfrr_trace.c')
-rw-r--r--lib/libfrr_trace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libfrr_trace.c b/lib/libfrr_trace.c
new file mode 100644
index 000000000..2f300e6ee
--- /dev/null
+++ b/lib/libfrr_trace.c
@@ -0,0 +1,4 @@
+#define TRACEPOINT_CREATE_PROBES
+#define TRACEPOINT_DEFINE
+
+#include "libfrr_trace.h"