Lines Matching full:trace
8 OSSL_trace_set_callback, OSSL_trace_cb - Enabling trace output
12 #include <openssl/trace.h>
25 internal trace output.
28 The trace output is divided into categories which can be
31 I<trace channel> to it, which in the simplest case is just a BIO object
34 get more finegrained trace information. This callback will be wrapped
37 For the tracing code, both trace channel types are indistinguishable.
38 These are called a I<simple trace channel> and a I<callback trace channel>,
43 OSSL_trace_set_channel() is used to enable the given trace C<category>
44 by attaching the B<BIO> I<bio> object as (simple) trace channel.
57 OSSL_trace_set_callback() is used to enable the given trace
61 dedicated BIO object, the so called I<callback trace channel>.
62 This should be used when it's desirable to do form the trace output to
74 =head2 Trace callback
109 =head2 Trace categories
111 The trace categories are simple numbers available through macros.
117 Traces the OpenSSL trace API itself.
119 More precisely, this will generate trace output any time a new
120 trace hook is set.
151 ENGINE_get_digest_engine(), will generate trace summaries of the
159 monitored with a line of trace output generated for each change.
207 and can be used to get I<all> trace output.
209 Note, however, that in this case all trace output will effectively be
211 application intends to include the category name in the trace output.
213 trace category instead.
223 In all examples below, the trace producing code is assumed to be
244 OSSL_trace_set_prefix(OSSL_TRACE_CATEGORY_SSL, "BEGIN TRACE[TLS]");
245 OSSL_trace_set_suffix(OSSL_TRACE_CATEGORY_SSL, "END TRACE[TLS]");
250 When the trace producing code above is performed, this will be output
253 BEGIN TRACE[TLS]
256 END TRACE[TLS]
284 BIO_printf(bio, "%s TRACE[%s]:%lx\n",
300 BEGIN TRACE[TLS]:7f9eb0193b80
303 END TRACE[TLS]:7f9eb0193b80
311 necessary to configure and build OpenSSL with the 'enable-trace' option.