Home
last modified time | relevance | path

Searched refs:perf_entry (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/trace/
H A Dtrace_events_user.c1604 struct trace_entry *perf_entry; in user_event_perf() local
1606 size_t size = sizeof(*perf_entry) + i->count; in user_event_perf()
1609 perf_entry = perf_trace_buf_alloc(ALIGN(size, 8), in user_event_perf()
1612 if (unlikely(!perf_entry)) in user_event_perf()
1617 if (unlikely(i->count != 0 && !copy_nofault(perf_entry + 1, i->count, i))) in user_event_perf()
1621 unlikely(user_event_validate(user, perf_entry, size))) in user_event_perf()
1624 perf_trace_buf_submit(perf_entry, size, context, in user_event_perf()