gennady.kup...@gmail.com writes: > From: Gennady Kupava <gkup...@bloomberg.net> > > - Do the check if the trace key is enabled sooner in call chain. > - Move just enough code from trace.c into trace.h header so all code > necessary to determine that trace is disabled could be inlined to > calling functions.
Makes sense. Will queue. Thanks. > +inline int trace_pass_fl(struct trace_key *key) { > + return key->fd || !key->initialized; > +} ;-)