]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
samplefilt: add debug message for selected samples
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 20 Jul 2022 10:23:04 +0000 (12:23 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 21 Jul 2022 12:17:22 +0000 (14:17 +0200)
samplefilt.c

index 6b061307518ca0ce57b5d58ca570a78706549af7..9b81a764766644faa7f587c20a33e135ebe71336 100644 (file)
@@ -417,6 +417,8 @@ SPF_GetFilteredSample(SPF_Instance filter, NTP_Sample *sample)
 
   n = select_samples(filter);
 
+  DEBUG_LOG("selected %d from %d samples", n, filter->used);
+
   if (n < 1)
     return 0;