diff options
author | David Lamparter <equinox@diac24.net> | 2019-12-10 17:23:25 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2020-03-24 15:58:36 +0100 |
commit | aef4a13f4f89c820833fdf5dc74304509152b369 (patch) | |
tree | 10b2b946a6f243ee6a4a5ed971553441bca7784f /configure.ac | |
parent | Merge pull request #6050 from sworleys/PBR-No-Fail-Same-VRF (diff) | |
download | frr-aef4a13f4f89c820833fdf5dc74304509152b369.tar.xz frr-aef4a13f4f89c820833fdf5dc74304509152b369.zip |
sharpd: add "logpump" to bulk test logging
This just generates log messages in bulk for testing logging backend
performance. It's in sharpd so the full "context" of being in a daemon
is available (e.g. different logging configs, parallel load in the main
thread.)
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 41d1911c3..d1391c67b 100755 --- a/configure.ac +++ b/configure.ac @@ -2006,6 +2006,10 @@ AC_CHECK_DECL([CLOCK_MONOTONIC], AC_DEFINE([HAVE_CLOCK_MONOTONIC], [1], [Have monotonic clock]) ], [AC_MSG_RESULT([no])], [FRR_INCLUDES]) +AC_SEARCH_LIBS([clock_nanosleep], [rt], [ + AC_DEFINE([HAVE_CLOCK_NANOSLEEP], [1], [Have clock_nanosleep()]) +]) + dnl -------------------------------------- dnl checking for flex and bison dnl -------------------------------------- |