Lines Matching defs:tr
20 struct trace_array *tr;
29 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event",
55 trace_array_printk(tr, _THIS_IP_, "trace_array_printk: count=%d\n",
72 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event", true);
90 * the trace array - "tr". We are done using the trace array, hence
94 trace_array_put(tr);
106 * associated with the trace array - "tr".
108 tr = trace_array_get_by_name("sample-instance", "sched,timer,kprobes");
110 if (!tr)
119 trace_array_put(tr);
120 trace_array_destroy(tr);
133 * Remove/destroy "tr" using trace_array_destroy()
135 trace_array_destroy(tr);