CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/08/25 05:38:18
Modified files:
usr.sbin/smtpd : smtpd.c smtpd.h
Log message:
- introduce TRACE_PROFILING
- when smtpd starts with -T profiling it will log_trace() some prof. info
- when smtpd starts with -T profstat, it will push them to stats API with
type STAT_TIMESPEC under key profiling.imsg.*
with this diff we can get live profiling of events with a very minimal
overhead :-)
ok chl@, ok eric@
