/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | isphist.c | 30 static void hist_reset_mem(struct ispstat *hist) argument 32 struct isp_device *isp = hist->isp; 33 struct omap3isp_hist_config *conf = hist->priv; 56 hist->wait_acc_frames = conf->num_acc_frames; 62 static void hist_setup_regs(struct ispstat *hist, void *priv) argument 64 struct isp_device *isp = hist->isp; 72 if (!hist->update || hist->state == ISPSTAT_DISABLED || 73 hist->state == ISPSTAT_DISABLING) 121 hist_reset_mem(hist); 140 hist_enable(struct ispstat *hist, int enable) argument 153 hist_busy(struct ispstat *hist) argument 161 struct ispstat *hist = data; local 173 hist_buf_dma(struct ispstat *hist) argument 229 hist_buf_pio(struct ispstat *hist) argument 270 hist_buf_process(struct ispstat *hist) argument 304 hist_validate_params(struct ispstat *hist, void *new_conf) argument 360 hist_comp_params(struct ispstat *hist, struct omap3isp_hist_config *user_cfg) argument 404 hist_set_params(struct ispstat *hist, void *new_conf) argument 476 struct ispstat *hist = &isp->isp_hist; local 534 struct ispstat *hist = &isp->isp_hist; local [all...] |
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-trace-marker-hist.tc | 4 # requires: set_event events/ftrace/print/trigger events/ftrace/print/hist 14 echo 'hist:keys=common_pid' > events/ftrace/print/trigger 16 grep 'hitcount: *10$' events/ftrace/print/hist > /dev/null || \ 17 fail "hist trigger did not trigger correct times on trace_marker"
|
H A D | trigger-multihist.tc | 4 # requires: set_event events/sched/sched_process_fork/trigger events/sched/sched_process_fork/hist 14 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger 15 echo 'hist:keys=parent_comm:vals=child_pid' >> events/sched/sched_process_fork/trigger 17 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 18 fail "hist trigger on sched_process_fork did not work" 19 grep child events/sched/sched_process_fork/hist > /dev/null || \ 20 fail "hist trigger on sched_process_fork did not work" 22 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 29 echo 'hist:name=test_hist:keys=common_pid' > events/sched/sched_process_fork/trigger 31 grep test_hist events/sched/sched_process_fork/hist > /de [all...] |
H A D | trigger-trace-marker-synthetic.tc | 4 # requires: set_event synthetic_events events/ftrace/print/trigger events/ftrace/print/hist 15 echo 'hist:keys=common_pid:ts0=common_timestamp.usecs if buf == "start"' > events/ftrace/print/trigger 16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if buf == "end"' >> events/ftrace/print/trigger 17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger 21 cnt=`grep 'hitcount: *1$' events/ftrace/print/hist | wc -l` 24 fail "hist trace_marker trigger did not trigger correctly" 27 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \ 28 fail "hist trigger did not trigger "
|
H A D | trigger-trace-marker-synthetic-kernel.tc | 4 # requires: set_event synthetic_events events/sched/sched_waking events/ftrace/print/trigger events/ftrace/print/hist 15 echo 'hist:keys=pid:ts0=common_timestamp.usecs' > events/sched/sched_waking/trigger 16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat)' > events/ftrace/print/trigger 17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger 21 grep 'hitcount: *1$' events/ftrace/print/hist > /dev/null || \ 22 fail "hist trigger did not trigger correct times on trace_marker" 24 grep 'hitcount: *1$' events/synthetic/latency/hist > /dev/null || \ 25 fail "hist trigger did not trigger "
|
H A D | trigger-hist-mod.tc | 4 # requires: set_event events/sched/sched_process_fork/trigger events/sched/sched_process_fork/hist 14 echo 'hist:keys=common_pid.execname' > events/sched/sched_process_fork/trigger 17 grep "common_pid: $COMM" events/sched/sched_process_fork/hist > /dev/null || \ 24 echo 'hist:keys=parent_pid.hex' > events/sched/sched_process_fork/trigger 28 grep "parent_pid: $HEX" events/sched/sched_process_fork/hist > /dev/null || \ 35 echo 'hist:keys=id.syscall' > events/raw_syscalls/sys_exit/trigger 37 grep "id: \(unknown_\|sys_\)" events/raw_syscalls/sys_exit/hist > /dev/null || \ 45 echo 'hist:keys=bytes_req.log2' > events/kmem/kmalloc/trigger 47 grep 'bytes_req: ~ 2^[0-9]*' events/kmem/kmalloc/hist > /dev/null || \
|
H A D | trigger-hist.tc | 4 # requires: set_event events/sched/sched_process_fork/trigger events/sched/sched_process_fork/hist 14 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger 16 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \ 17 fail "hist trigger on sched_process_fork did not work" 18 grep child events/sched/sched_process_fork/hist > /dev/null || \ 19 fail "hist trigger on sched_process_fork did not work" 25 echo 'hist:keys=parent_pid,child_pid' > events/sched/sched_process_fork/trigger 27 grep '^{ parent_pid:.*, child_pid:.*}' events/sched/sched_process_fork/hist > /dev/null || \ 34 echo 'hist:keys=parent_comm' > events/sched/sched_process_fork/trigger 37 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /de [all...] |
/linux-master/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-master/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
H A D | trigger-onmatch-onmax-action-hist.tc | 4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program 21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_latency($wakeup_lat,next_pid,next_comm):onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger 23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger 26 if [ ! grep -q "ping" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_switch/hist]; then
|
H A D | trigger-onchange-action-hist.tc | 13 echo 'hist:keys=comm:newprio=prio:onchange($newprio).save(comm,prio) if comm=="ping"' >> events/sched/sched_waking/trigger 18 if ! grep -q "changed:" events/sched/sched_waking/hist; then
|
H A D | trigger-field-variable-support.tc | 4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program 14 echo 'hist:keys=comm:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger 15 echo 'hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeup_latency($wakeup_lat,next_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger 16 echo 'hist:keys=pid,prio,comm:vals=lat:sort=pid,prio' > events/synthetic/wakeup_latency/trigger 19 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then 23 if ! grep -q "synthetic_prio=prio" events/sched/sched_waking/hist; then 27 echo '!hist:keys=next_comm:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).wakeup_latency($wakeup_lat,next_pid,sched.sched_waking.prio,next_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger 29 if grep -q "synthetic_prio=prio" events/sched/sched_waking/hist; then
|
H A D | trigger-onmax-action-hist.tc | 4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program 20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_waking/trigger 21 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_comm) if next_comm=="ping"' >> events/sched/sched_switch/trigger 24 if ! grep -q "max:" events/sched/sched_switch/hist; then
|
H A D | trigger-snapshot-action-hist.tc | 4 # requires: set_event snapshot events/sched/sched_process_fork/hist "onchange(var)":README "snapshot()":README ping:program 15 echo 'hist:keys=comm:newprio=prio:onchange($newprio).save(comm,prio):onchange($newprio).snapshot() if comm=="ping"' >> events/sched/sched_waking/trigger 22 if ! grep -q "changed:" events/sched/sched_waking/hist; then
|
H A D | trigger-onmatch-action-hist.tc | 4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program 21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_latency($wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger 23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger 26 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then
|
H A D | trigger-trace-action-hist.tc | 4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist "trace(<synthetic_event>":README ping:program 21 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).trace(wakeup_latency,$wakeup_lat,next_pid,next_comm) if next_comm=="ping"' > events/sched/sched_switch/trigger 23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger 27 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then
|
H A D | trigger-synthetic-event-dynstring.tc | 4 # requires: set_event synthetic_events events/sched/sched_process_exec/hist "' >> synthetic_events":README ping:program 21 echo 'hist:key=pid:filenamevar=filename:ts0=common_timestamp.usecs' > events/sched/sched_process_exec/trigger 22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_latency($lat,$filenamevar) if comm == "ping"' > events/sched/sched_process_exit/trigger 23 echo 'hist:keys=filename,lat:sort=filename,lat' > events/synthetic/ping_test_latency/trigger 27 if ! grep -q "ping" events/synthetic/ping_test_latency/hist; then
|
H A D | trigger-inter-event-combined-hist.tc | 4 # requires: set_event synthetic_events events/sched/sched_process_fork/hist ping:program 20 echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_waking/trigger 21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_latency($waking_lat,pid) if comm=="ping"' > events/sched/sched_wakeup/trigger 22 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger 25 echo 'hist:keys=pid:ts1=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger 26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_latency($wakeup_lat,next_pid) if next_comm=="ping"' > events/sched/sched_switch/trigger 29 echo 'hist:keys=pid,lat:sort=pid,lat:ww_lat=$waking_lat+$wakeup_lat:onmatch(synthetic.wakeup_latency).waking_plus_wakeup_latency($ww_lat,pid)' >> events/synthetic/wakeup_latency/trigger 30 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking_plus_wakeup_latency/trigger 33 if ! grep -q "pid:" events/synthetic/waking_plus_wakeup_latency/hist; then
|
/linux-master/tools/tracing/rtla/src/ |
H A D | timerlat_hist.c | 83 struct timerlat_hist_cpu *hist; member in struct:timerlat_hist_data 99 if (data->hist[cpu].irq) 100 free(data->hist[cpu].irq); 102 if (data->hist[cpu].thread) 103 free(data->hist[cpu].thread); 105 if (data->hist[cpu].user) 106 free(data->hist[cpu].user); 111 if (data->hist) 112 free(data->hist); 135 data->hist 180 int *hist; local [all...] |
H A D | osnoise_hist.c | 61 struct osnoise_hist_cpu *hist; member in struct:osnoise_hist_data 77 if (data->hist[cpu].samples) 78 free(data->hist[cpu].samples); 82 if (data->hist) 83 free(data->hist); 105 data->hist = calloc(1, sizeof(*data->hist) * nr_cpus); 106 if (!data->hist) 110 data->hist[cpu].samples = calloc(1, sizeof(*data->hist 134 int *hist; local [all...] |
H A D | trace.c | 305 * trace_event_save_hist - save the content of an event hist 307 * If the trigger is a hist: one, save the content of the hist file. 315 char *hist; local 320 /* trigger enables hist */ 324 /* is this a hist: trigger? */ 325 retval = strncmp(tevent->trigger, "hist:", strlen("hist:")); 331 printf(" Saving event %s:%s hist to %s\n", tevent->system, tevent->event, path); 339 hist [all...] |
/linux-master/samples/bpf/ |
H A D | lathist_user.c | 37 struct cpu_hist *hist; local 44 hist = &cpu_hist[j]; 47 if (hist->max == 0) 53 stars(starstr, hist->data[i - 1], hist->max, MAX_STARS); 56 hist->data[i - 1], MAX_STARS, starstr);
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | func_latency.bpf.c | 95 __u64 *hist; local 108 hist = bpf_map_lookup_elem(&latency, &key); 109 if (!hist) 112 *hist += 1;
|
/linux-master/tools/perf/util/ |
H A D | bpf_ftrace.c | 126 u64 *hist; local 131 hist = calloc(ncpus, sizeof(*hist)); 132 if (hist == NULL) 136 err = bpf_map_lookup_elem(fd, &idx, hist); 143 buckets[idx] += hist[i]; 146 free(hist);
|
/linux-master/lib/zlib_dfltcc/ |
H A D | dfltcc_util.h | 33 void *hist 49 ".insn rrf,0xb9390000,%[r2],%[r4],%[hist],0\n" 58 , [hist] "r" (hist)
|
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_ethtool.c | 191 rmon_stats->hist[0] = emac_get_stat_by_name(emac, "rx_bucket1_frames"); 192 rmon_stats->hist[1] = emac_get_stat_by_name(emac, "rx_bucket2_frames"); 193 rmon_stats->hist[2] = emac_get_stat_by_name(emac, "rx_bucket3_frames"); 194 rmon_stats->hist[3] = emac_get_stat_by_name(emac, "rx_bucket4_frames"); 195 rmon_stats->hist[4] = emac_get_stat_by_name(emac, "rx_bucket5_frames");
|