summaryrefslogtreecommitdiffstats
path: root/t/test_perf.c
diff options
context:
space:
mode:
authorGergely Nagy <algernon@balabit.hu>2012-08-11 01:06:55 +0200
committerGergely Nagy <algernon@balabit.hu>2012-08-11 01:06:55 +0200
commitfbeba09ae5050ef0adf2791b9d1a29993e9f6658 (patch)
tree31c56e0599a72184b3835a5f0f5cf48e640db026 /t/test_perf.c
parent1c707ea147d40ff2119b430512fe4e45c564ce32 (diff)
downloadlibumberlog-fbeba09ae5050ef0adf2791b9d1a29993e9f6658.tar.gz
libumberlog-fbeba09ae5050ef0adf2791b9d1a29993e9f6658.tar.xz
libumberlog-fbeba09ae5050ef0adf2791b9d1a29993e9f6658.zip
LOG_UL_NODISCOVER => LOG_UL_NOIMPLICIT
Based on a suggestion by Miloslav Trmač <mitr@redhat.com>, rename LOG_UL_NODISCOVER to LOG_UL_NOIMPLICIT, and clarify the documentation slightly. Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Diffstat (limited to 't/test_perf.c')
-rw-r--r--t/test_perf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/test_perf.c b/t/test_perf.c
index 0494110..f1eb628 100644
--- a/t/test_perf.c
+++ b/t/test_perf.c
@@ -44,8 +44,8 @@ test_perf_simple (int flags, unsigned long cnt)
dt = ts_diff (st, et);
- if (flags & LOG_UL_NODISCOVER)
- fls = "no-discover";
+ if (flags & LOG_UL_NOIMPLICIT)
+ fls = "no-implicit";
else if (flags & LOG_UL_NOTIME)
fls = "no-time";
else
@@ -62,8 +62,8 @@ main (void)
test_perf_simple (0, 100000);
test_perf_simple (0, 1000000);
- test_perf_simple (LOG_UL_NODISCOVER, 100000);
- test_perf_simple (LOG_UL_NODISCOVER, 1000000);
+ test_perf_simple (LOG_UL_NOIMPLICIT, 100000);
+ test_perf_simple (LOG_UL_NOIMPLICIT, 1000000);
test_perf_simple (LOG_UL_NOTIME, 100000);
test_perf_simple (LOG_UL_NOTIME, 1000000);