| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | isphist.c | 30 static void hist_reset_mem(struct ispstat *hist) in hist_reset_mem() argument 32 struct isp_device *isp = hist->isp; in hist_reset_mem() 33 struct omap3isp_hist_config *conf = hist->priv; in hist_reset_mem() 56 hist->wait_acc_frames = conf->num_acc_frames; in hist_reset_mem() 62 static void hist_setup_regs(struct ispstat *hist, void *priv) in hist_setup_regs() argument 64 struct isp_device *isp = hist->isp; in hist_setup_regs() 72 if (!hist->update || hist->state == ISPSTAT_DISABLED || in hist_setup_regs() 73 hist->state == ISPSTAT_DISABLING) in hist_setup_regs() 121 hist_reset_mem(hist); in hist_setup_regs() 134 hist->update = 0; in hist_setup_regs() [all …]
|
| /linux/tools/tracing/rtla/src/ |
| H A D | timerlat_hist.c | 45 struct timerlat_hist_cpu *hist; 60 if (data->hist[cpu].irq) in timerlat_free_histogram() 61 free(data->hist[cpu].irq); in timerlat_free_histogram() 63 if (data->hist[cpu].thread) in timerlat_free_histogram() 64 free(data->hist[cpu].thread); in timerlat_free_histogram() 66 if (data->hist[cpu].user) in timerlat_free_histogram() 67 free(data->hist[cpu].user); in timerlat_free_histogram() 72 if (data->hist) in timerlat_free_histogram() 73 free(data->hist); in timerlat_free_histogram() 99 data->hist in timerlat_alloc_histogram() 44 struct timerlat_hist_cpu *hist; global() member 145 int *hist; timerlat_hist_update() local [all...] |
| H A D | osnoise_hist.c | 29 struct osnoise_hist_cpu *hist; 44 if (data->hist[cpu].samples) in osnoise_free_histogram() 45 free(data->hist[cpu].samples); in osnoise_free_histogram() 49 if (data->hist) in osnoise_free_histogram() 50 free(data->hist); in osnoise_free_histogram() 76 data->hist = calloc(1, sizeof(*data->hist) * nr_cpus); in osnoise_alloc_histogram() 77 if (!data->hist) in osnoise_alloc_histogram() 81 data->hist[cpu].samples = calloc(1, sizeof(*data->hist in osnoise_alloc_histogram() 30 struct osnoise_hist_cpu *hist; global() member 108 int *hist; osnoise_hist_update_multiple() local [all...] |
| H A D | timerlat_bpf.c | 29 bpf->rodata->entries = params->common.hist.entries; in timerlat_bpf_init() 34 if (params->common.hist.entries != 0) { in timerlat_bpf_init() 36 bpf->rodata->bucket_size = params->common.hist.bucket_size; in timerlat_bpf_init() 39 bpf_map__set_max_entries(bpf->maps.hist_irq, params->common.hist.entries); in timerlat_bpf_init() 40 bpf_map__set_max_entries(bpf->maps.hist_thread, params->common.hist.entries); in timerlat_bpf_init() 41 bpf_map__set_max_entries(bpf->maps.hist_user, params->common.hist.entries); in timerlat_bpf_init() 173 * timerlat_bpf_get_hist_value - get value from BPF hist map in timerlat_bpf_get_summary_value()
|
| H A D | trace.c | 355 * trace_event_save_hist - save the content of an event hist 357 * If the trigger is a hist: one, save the content of the hist file. 365 char *hist; in trace_event_save_hist() local 371 /* trigger enables hist */ in trace_event_save_hist() 375 /* is this a hist: trigger? */ in trace_event_save_hist() 376 if (!str_has_prefix(tevent->trigger, "hist:")) in trace_event_save_hist() 381 printf(" Saving event %s:%s hist to %s\n", tevent->system, tevent->event, path); in trace_event_save_hist() 389 hist = tracefs_event_file_read(instance->inst, tevent->system, tevent->event, "hist", in trace_event_save_hist() [all...] |
| /linux/include/trace/events/ |
| H A D | napi.h | 43 unsigned long now, unsigned long *hist), 45 TP_ARGS(thrs, len, last_reap, hist_head, now, hist), 53 __array( unsigned long, hist, 4) 62 memcpy(__entry->hist, hist, sizeof(entry->hist)); 65 TP_printk("thrs %u len %u last_reap %lu hist_head %lu now %lu hist %016lx %016lx %016lx %016lx", 68 __entry->hist[0], __entry->hist[1], 69 __entry->hist[ [all...] |
| /linux/tools/testing/selftests/ftrace/test.d/trigger/ |
| H A D | trigger-multihist.tc | 17 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 19 grep child events/sched/sched_process_fork/hist > /dev/null || \ 22 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 31 grep test_hist events/sched/sched_process_fork/hist > /dev/null || \ 38 grep test_hist events/sched/sched_process_exit/hist > /dev/null || \ 41 diffs=`diff events/sched/sched_process_exit/hist events/sched/sched_process_fork/hist | wc -l`
|
| H A D | trigger-hist.tc | 16 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 18 grep child events/sched/sched_process_fork/hist > /dev/null || \ 27 grep '^{ parent_pid:.*, child_pid:.*}' events/sched/sched_process_fork/hist > /dev/null || \ 37 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 46 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/nu… 55 …9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]*+0x[0-9a-f][0-9a-f]*' events/kmem/kmalloc/hist > /dev/null || \ 73 events/sched/sched_process_fork/hist | cut -d: -f2 ` ||
|
| H A D | trigger-hist-mod.tc | 17 grep "common_pid: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 28 grep "parent_pid: $HEX" events/sched/sched_process_fork/hist > /dev/null || \ 37 grep "id: \(unknown_\|sys_\)" events/raw_syscalls/sys_exit/hist > /dev/null || \ 47 grep 'bytes_req: ~ 2^[0-9]*' events/kmem/kmalloc/hist > /dev/null || \
|
| H A D | trigger-hist-poll.tc | 21 ${POLL} -I -t 1000 ${EVENT}/hist 38 ${POLL} -I -t 4000 ${EVENT}/hist 60 ${POLL} -P -t 4000 ${EVENT}/hist
|
| H A D | trigger-trace-marker-synthetic-kernel.tc | 21 grep 'hitcount: *1$' events/ftrace/print/hist > /dev/null || \ 24 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \
|
| H A D | trigger-trace-marker-synthetic.tc | 21 cnt=`grep 'hitcount: *1$' events/ftrace/print/hist | wc -l` 27 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \
|
| /linux/samples/bpf/ |
| H A D | lathist_user.c | 37 struct cpu_hist *hist; in print_hist() local 44 hist = &cpu_hist[j]; in print_hist() 47 if (hist->max == 0) in print_hist() 53 stars(starstr, hist->data[i - 1], hist->max, MAX_STARS); in print_hist() 56 hist->data[i - 1], MAX_STARS, starstr); in print_hist()
|
| /linux/tools/perf/util/ |
| H A D | bpf_ftrace.c | 173 u64 *hist; in perf_ftrace__latency_read_bpf() local 178 hist = calloc(ncpus, sizeof(*hist)); in perf_ftrace__latency_read_bpf() 179 if (hist == NULL) in perf_ftrace__latency_read_bpf() 183 err = bpf_map_lookup_elem(fd, &idx, hist); in perf_ftrace__latency_read_bpf() 190 buckets[idx] += hist[i]; in perf_ftrace__latency_read_bpf() 206 free(hist); in perf_ftrace__latency_read_bpf()
|
| /linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
| H A D | trigger-field-variable-support.tc | 19 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then 23 if ! grep -q "synthetic_prio=prio" events/sched/sched_waking/hist; then 29 if grep -q "synthetic_prio=prio" events/sched/sched_waking/hist; then
|
| H A D | trigger-onmatch-onmax-action-hist.tc | 26 …! grep -q "ping" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_switc…
|
| /linux/kernel/events/ |
| H A D | hw_breakpoint.c | 186 bp_slots_histogram_alloc(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_alloc() argument 188 hist->count = kzalloc_objs(*hist->count, in bp_slots_histogram_alloc() 190 return hist->count; in bp_slots_histogram_alloc() 193 static __init void bp_slots_histogram_free(struct bp_slots_histogram *hist) in bp_slots_histogram_free() argument 195 kfree(hist->count); in bp_slots_histogram_free() 238 bp_slots_histogram_add(struct bp_slots_histogram *hist, int old, int val) in bp_slots_histogram_add() argument 244 WARN_ON(atomic_dec_return_relaxed(&hist->count[old_idx]) < 0); in bp_slots_histogram_add() 246 WARN_ON(atomic_inc_return_relaxed(&hist->count[new_idx]) < 0); in bp_slots_histogram_add() 250 bp_slots_histogram_max(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_max() argument 253 const int count = atomic_read(&hist->count[i]); in bp_slots_histogram_max() [all …]
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | func_latency.bpf.c | 81 __u64 *hist; in update_latency() local 114 hist = bpf_map_lookup_elem(&latency, &key); in update_latency() 115 if (!hist) in update_latency() 118 __sync_fetch_and_add(hist, 1); in update_latency()
|
| /linux/tools/testing/ktest/examples/bootconfigs/ |
| H A D | boottrace.bconf | 13 hist { 19 initcall.initcall_start.hist { 23 initcall.initcall_finish.hist {
|
| /linux/arch/parisc/kernel/ |
| H A D | irq.c | 216 int hist = action->cr16_hist[k]; in show_interrupts() local 218 if (hist) { in show_interrupts() 219 avg += hist; in show_interrupts() 223 if (hist > max) max = hist; in show_interrupts() 224 if (hist < min) min = hist; in show_interrupts()
|
| /linux/lib/zlib_dfltcc/ |
| H A D | dfltcc_util.h | 36 void *hist in dfltcc() argument 62 , [hist] "r" (hist) in dfltcc()
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_stats.c | 574 rmon_stats->hist[0] = s[OCELOT_STAT_RX_64]; in ocelot_port_rmon_stats_cb() 575 rmon_stats->hist[1] = s[OCELOT_STAT_RX_65_127]; in ocelot_port_rmon_stats_cb() 576 rmon_stats->hist[2] = s[OCELOT_STAT_RX_128_255]; in ocelot_port_rmon_stats_cb() 577 rmon_stats->hist[3] = s[OCELOT_STAT_RX_256_511]; in ocelot_port_rmon_stats_cb() 578 rmon_stats->hist[4] = s[OCELOT_STAT_RX_512_1023]; in ocelot_port_rmon_stats_cb() 579 rmon_stats->hist[5] = s[OCELOT_STAT_RX_1024_1526]; in ocelot_port_rmon_stats_cb() 580 rmon_stats->hist[6] = s[OCELOT_STAT_RX_1527_MAX]; in ocelot_port_rmon_stats_cb() 602 rmon_stats->hist[0] = s[OCELOT_STAT_RX_PMAC_64]; in ocelot_port_pmac_rmon_stats_cb() 603 rmon_stats->hist[1] = s[OCELOT_STAT_RX_PMAC_65_127]; in ocelot_port_pmac_rmon_stats_cb() 604 rmon_stats->hist[2] = s[OCELOT_STAT_RX_PMAC_128_255]; in ocelot_port_pmac_rmon_stats_cb() [all …]
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_ethtool.c | 197 rmon_stats->hist[0] = emac_get_stat_by_name(emac, "rx_bucket1_frames"); in emac_get_rmon_stats() 198 rmon_stats->hist[1] = emac_get_stat_by_name(emac, "rx_bucket2_frames"); in emac_get_rmon_stats() 199 rmon_stats->hist[2] = emac_get_stat_by_name(emac, "rx_bucket3_frames"); in emac_get_rmon_stats() 200 rmon_stats->hist[3] = emac_get_stat_by_name(emac, "rx_bucket4_frames"); in emac_get_rmon_stats() 201 rmon_stats->hist[4] = emac_get_stat_by_name(emac, "rx_bucket5_frames"); in emac_get_rmon_stats()
|
| /linux/tools/perf/ui/ |
| H A D | Build | 5 perf-ui-y += hist.o 6 perf-ui-y += stdio/hist.o
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_lib.sh | 111 local hist="/tmp/${ns}.out" 113 if [ -f "${hist}" ]; then 114 awk '$2 != 0 { print " "$0 }' "${hist}" 422 local hist="/tmp/${ns}.out" 425 if [[ -s "${hist}" && "${counter}" == *"Tcp"* ]]; then 426 count=$(awk "/^${counter} / {print \$2; exit}" "${hist}")
|