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 | 470 __trace_osnoise_sample(struct osnoise_sample *sample, struct trace_buffer *buffer) in __trace_osnoise_sample() argument 481 entry->runtime = sample->runtime; in __trace_osnoise_sample() 482 entry->noise = sample->noise; in __trace_osnoise_sample() 483 entry->max_sample = sample->max_sample; in __trace_osnoise_sample() 484 entry->hw_count = sample->hw_count; in __trace_osnoise_sample() 485 entry->nmi_count = sample->nmi_count; in __trace_osnoise_sample() 486 entry->irq_count = sample->irq_count; in __trace_osnoise_sample() 487 entry->softirq_count = sample->softirq_count; in __trace_osnoise_sample() 488 entry->thread_count = sample->thread_count; in __trace_osnoise_sample() 497 static void trace_osnoise_sample(struct osnoise_sample *sample) in trace_osnoise_sample() argument [all …]
|
D | Kconfig | 1078 for the generated sample events.
|
/kernel/bpf/ |
D | ringbuf.c | 456 static void bpf_ringbuf_commit(void *sample, u64 flags, bool discard) in bpf_ringbuf_commit() argument 463 hdr = sample - BPF_RINGBUF_HDR_SZ; in bpf_ringbuf_commit() 484 BPF_CALL_2(bpf_ringbuf_submit, void *, sample, u64, flags) in BPF_CALL_2() argument 486 bpf_ringbuf_commit(sample, flags, false /* discard */); in BPF_CALL_2() 497 BPF_CALL_2(bpf_ringbuf_discard, void *, sample, u64, flags) in BPF_CALL_2() argument 499 bpf_ringbuf_commit(sample, flags, true /* discard */); in BPF_CALL_2() 569 void *sample; in BPF_CALL_4() local 585 sample = __bpf_ringbuf_reserve(rb_map->rb, size); in BPF_CALL_4() 586 if (!sample) { in BPF_CALL_4() 591 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 | 6983 struct perf_sample_data *sample) in perf_event__output_id_sample() argument 6986 __perf_event__output_id_sample(handle, sample); in perf_event__output_id_sample() 7696 struct perf_sample_data sample; in perf_event_read_event() local 7708 perf_event_header__init_id(&read_event.header, &sample, event); in perf_event_read_event() 7709 ret = perf_output_begin(&handle, &sample, event, read_event.header.size); in perf_event_read_event() 7715 perf_event__output_id_sample(event, &handle, &sample); in perf_event_read_event() 7969 struct perf_sample_data sample; in perf_event_task_output() local 7976 perf_event_header__init_id(&task_event->event_id.header, &sample, event); in perf_event_task_output() 7978 ret = perf_output_begin(&handle, &sample, event, in perf_event_task_output() 8000 perf_event__output_id_sample(event, &handle, &sample); in perf_event_task_output() [all …]
|
/kernel/sched/ |
D | psi.c | 385 u32 sample; in update_averages() local 387 sample = group->total[PSI_AVGS][s] - group->avg_total[s]; in update_averages() 405 if (sample > period) in update_averages() 406 sample = period; in update_averages() 407 group->avg_total[s] += sample; in update_averages() 408 calc_avgs(group->avg[s], missed_periods, sample, period); in update_averages()
|
D | sched.h | 225 static inline void update_avg(u64 *avg, u64 sample) in update_avg() argument 227 s64 diff = sample - *avg; in update_avg()
|