Lines Matching refs:entry
87 struct trace_entry *entry = iter->ent; in bts_trace_print_line() local
91 trace_assign_type(it, entry); in bts_trace_print_line()
93 if (entry->type == TRACE_HW_BRANCHES) { in bts_trace_print_line()
94 if (trace_seq_printf(seq, "%4d ", entry->cpu) && in bts_trace_print_line()
109 struct hw_branch_entry *entry; in trace_hw_branch() local
112 event = ring_buffer_lock_reserve(tr->buffer, sizeof(*entry), &irq); in trace_hw_branch()
115 entry = ring_buffer_event_data(event); in trace_hw_branch()
116 tracing_generic_entry_update(&entry->ent, 0, from); in trace_hw_branch()
117 entry->ent.type = TRACE_HW_BRANCHES; in trace_hw_branch()
118 entry->ent.cpu = smp_processor_id(); in trace_hw_branch()
119 entry->from = from; in trace_hw_branch()
120 entry->to = to; in trace_hw_branch()