• Home
  • Raw
  • Download

Lines Matching refs:trace

17  #include <openssl/trace.h>
24 /* trace group macros */
28 /* Leave trace group prematurely in case of an error */
35 /* one-shot trace macros */
41 /* check whether a trace category is enabled */
63 I<trace channel> is attached to it. A trace channel is simply a
64 BIO object to which the application can write its trace output.
66 The application has two different ways of registering a trace channel,
71 We call them a I<simple trace channel> and a I<callback trace channel>,
74 To produce trace output, it is necessary to obtain a pointer to the
75 trace channel (i.e., the BIO object) using OSSL_trace_begin(), write
78 calls surrounding the trace output create a group, which acts as a
79 critical section (guarded by a mutex) to ensure that the trace output
108 used as follows to wrap a trace section:
128 trace section:
158 The macro call C<OSSL_TRACE(category, text)>, produces literal text trace output.
161 printf-style trace output with n format field arguments (n=1,...,9).
173 only if a specific trace category is enabled.
174 In some situations this is simpler than entering a trace section using
190 If producing the trace output requires carrying out auxiliary calculations,
192 executed only if the trace category is enabled.
194 The most natural way to do this is to place the code inside the trace section
205 of a trace section. This is the case if calculations and tracing happen in
207 that placing them inside a (critical) trace section would create too much
219 it takes to print the trace output, not to calculate it.
225 necessary to configure and build OpenSSL with the 'enable-trace' option.