Searched refs:sample (Results 1 – 8 of 8) sorted by relevance
/kernel/trace/ |
D | trace_hwlat.c | 130 static void trace_hwlat_sample(struct hwlat_sample *sample) in trace_hwlat_sample() argument 143 entry->seqnum = sample->seqnum; in trace_hwlat_sample() 144 entry->duration = sample->duration; in trace_hwlat_sample() 145 entry->outer_duration = sample->outer_duration; in trace_hwlat_sample() 146 entry->timestamp = sample->timestamp; in trace_hwlat_sample() 147 entry->nmi_total_ts = sample->nmi_total_ts; in trace_hwlat_sample() 148 entry->nmi_count = sample->nmi_count; in trace_hwlat_sample() 149 entry->count = sample->count; in trace_hwlat_sample() 208 u64 sample = 0; in get_sample() local 269 if (diff > sample) in get_sample() [all …]
|
D | trace_osnoise.c | 494 __trace_osnoise_sample(struct osnoise_sample *sample, struct trace_buffer *buffer) in __trace_osnoise_sample() argument 505 entry->runtime = sample->runtime; in __trace_osnoise_sample() 506 entry->noise = sample->noise; in __trace_osnoise_sample() 507 entry->max_sample = sample->max_sample; in __trace_osnoise_sample() 508 entry->hw_count = sample->hw_count; in __trace_osnoise_sample() 509 entry->nmi_count = sample->nmi_count; in __trace_osnoise_sample() 510 entry->irq_count = sample->irq_count; in __trace_osnoise_sample() 511 entry->softirq_count = sample->softirq_count; in __trace_osnoise_sample() 512 entry->thread_count = sample->thread_count; in __trace_osnoise_sample() 521 static void trace_osnoise_sample(struct osnoise_sample *sample) in trace_osnoise_sample() argument [all …]
|
D | Kconfig | 1133 for the generated sample events.
|
/kernel/bpf/ |
D | ringbuf.c | 489 static void bpf_ringbuf_commit(void *sample, u64 flags, bool discard) in bpf_ringbuf_commit() argument 496 hdr = sample - BPF_RINGBUF_HDR_SZ; in bpf_ringbuf_commit() 517 BPF_CALL_2(bpf_ringbuf_submit, void *, sample, u64, flags) in BPF_CALL_2() argument 519 bpf_ringbuf_commit(sample, flags, false /* discard */); in BPF_CALL_2() 530 BPF_CALL_2(bpf_ringbuf_discard, void *, sample, u64, flags) in BPF_CALL_2() argument 532 bpf_ringbuf_commit(sample, flags, true /* discard */); in BPF_CALL_2() 602 void *sample; in BPF_CALL_4() local 618 sample = __bpf_ringbuf_reserve(rb_map->rb, size); in BPF_CALL_4() 619 if (!sample) { in BPF_CALL_4() 624 bpf_dynptr_init(ptr, sample, BPF_DYNPTR_TYPE_RINGBUF, 0, size); in BPF_CALL_4() [all …]
|
/kernel/trace/rv/ |
D | Kconfig | 34 Enable wip (wakeup in preemptive) sample monitor that illustrates 46 Enable wwnr (wakeup while not running) sample monitor, this is a 47 sample monitor that illustrates the usage of per-task monitor.
|
/kernel/events/ |
D | core.c | 7177 struct perf_sample_data *sample) in perf_event__output_id_sample() argument 7180 __perf_event__output_id_sample(handle, sample); in perf_event__output_id_sample() 7909 struct perf_sample_data sample; in perf_event_read_event() local 7921 perf_event_header__init_id(&read_event.header, &sample, event); in perf_event_read_event() 7922 ret = perf_output_begin(&handle, &sample, event, read_event.header.size); in perf_event_read_event() 7928 perf_event__output_id_sample(event, &handle, &sample); in perf_event_read_event() 8175 struct perf_sample_data sample; in perf_event_task_output() local 8182 perf_event_header__init_id(&task_event->event_id.header, &sample, event); in perf_event_task_output() 8184 ret = perf_output_begin(&handle, &sample, event, in perf_event_task_output() 8206 perf_event__output_id_sample(event, &handle, &sample); in perf_event_task_output() [all …]
|
/kernel/sched/ |
D | psi.c | 540 u32 sample; in update_averages() local 542 sample = group->total[PSI_AVGS][s] - group->avg_total[s]; in update_averages() 560 if (sample > period) in update_averages() 561 sample = period; in update_averages() 562 group->avg_total[s] += sample; in update_averages() 563 calc_avgs(group->avg[s], missed_periods, sample, period); in update_averages()
|
D | sched.h | 226 static inline void update_avg(u64 *avg, u64 sample) in update_avg() argument 228 s64 diff = sample - *avg; in update_avg()
|