session manager support output fieldstat
This commit is contained in:
@@ -333,7 +333,7 @@ static void *pcap_io_thread(void *arg)
|
||||
fclose(fp);
|
||||
}
|
||||
}
|
||||
PCAP_IO_LOG_FATAL("pcap io thread read all pcap files");
|
||||
PACKET_IO_LOG_FATAL("pcap io thread read all pcap files (files: %lu, pkts: %lu)", pcap_io->read_pcap_files, ATOMIC_READ(&pcap_io->read_pcap_pkts));
|
||||
|
||||
erro_out:
|
||||
while (ATOMIC_READ(&pcap_io->io_thread_need_exit) == 0)
|
||||
@@ -346,7 +346,7 @@ erro_out:
|
||||
usleep(1000); // 1ms
|
||||
}
|
||||
|
||||
PCAP_IO_LOG_FATAL("pcap io thread exit (read_pcap_files: %lu, read_pcap_pkts: %lu)", pcap_io->read_pcap_files, ATOMIC_READ(&pcap_io->read_pcap_pkts));
|
||||
PACKET_IO_LOG_FATAL("pcap io thread exit");
|
||||
ATOMIC_SET(&pcap_io->io_thread_is_runing, 0);
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user