Lines Matching full:trace

9 Initialize / destroy a trace sequence.
16 *#include <trace-seq.h>*
32 Trace sequences are used to allow a function to call several other functions
35 The _trace_seq_init()_ function initializes the trace sequence _s_.
37 The _trace_seq_destroy()_ function destroys the trace sequence _s_ and frees
40 The _trace_seq_reset()_ function re-initializes the trace sequence _s_. All
43 The _trace_seq_terminate()_ function terminates the trace sequence _s_. It puts
46 The _trace_seq_putc()_ function puts a single character _c_ in the trace
50 trace sequence _s_.
53 variable arguments _..._ in the trace sequence _s_.
56 list of arguments _args_ in the trace sequence _s_.
58 The _trace_seq_do_printf()_ function prints the buffer of trace sequence _s_ to
61 The _trace_seq_do_fprintf()_ function prints the buffer of trace sequence _s_
67 characters put in the trace sequence, or 0 in case of an error
70 trace oversizes the buffer's free space, the number of characters printed, or
81 #include <trace-seq.h>
91 /* Failed to print in the trace sequence */
100 /* Failed to put str in the trace sequence */
103 /* Failed to put ':' in the trace sequence */
105 if (trace_seq_printf(&seq, " trace sequence: %d", 1) <= 0) {
106 /* Failed to print in the trace sequence */
116 FILE *fp = fopen("trace.txt", "w");
118 /* Failed to print the sequence buffer to the trace.txt file */
131 *trace-seq.h*
132 Header file to include in order to have access to trace sequences related APIs.
150 Report bugs to <linux-trace-devel@vger.kernel.org>