audit/SOURCES/audit-3.0-queue-report.patch
2021-09-09 14:52:11 +00:00

22 lines
940 B
Diff

diff -urp audit-3.0.orig/audisp/queue.c audit-3.0/audisp/queue.c
--- audit-3.0.orig/audisp/queue.c 2018-08-31 17:05:48.000000000 -0400
+++ audit-3.0/audisp/queue.c 2018-12-06 20:21:22.184312950 -0500
@@ -231,11 +231,12 @@ void increase_queue_depth(unsigned int s
void write_queue_state(FILE *f)
{
- fprintf(f, "current queue depth = %u\n", currently_used);
- fprintf(f, "max queue depth used = %u\n", max_used);
- fprintf(f, "queue size = %u\n", q_depth);
- fprintf(f, "queue overflow detected = %s\n",overflowed ? "yes" : "no");
- fprintf(f, "queueing suspended = %s\n",
+ fprintf(f, "current plugin queue depth = %u\n", currently_used);
+ fprintf(f, "max plugin queue depth used = %u\n", max_used);
+ fprintf(f, "plugin queue size = %u\n", q_depth);
+ fprintf(f, "plugin queue overflow detected = %s\n",
+ overflowed ? "yes" : "no");
+ fprintf(f, "plugin queueing suspended = %s\n",
processing_suspended ? "yes" : "no");
}