Home
last modified time | relevance | path

Searched full:lat (Results 1 – 25 of 163) sorted by relevance

1234567

/kernel/linux/linux-5.10/Documentation/trace/
Dhistogram.rst1798 with 3 fields: lat, pid, and prio. Each of those fields is simply a
1802 u64 lat; \
1811 wakeup_latency u64 lat; pid_t pid; int prio
1816 # echo '!wakeup_latency u64 lat pid_t pid int prio' >> \
1828 # echo 'hist:keys=pid,prio,lat.log2:sort=pid,lat' >> \
1979 # echo 'wakeup_latency u64 lat; pid_t pid; int prio' >> \
2002 # echo 'hist:keys=pid,prio,lat:sort=pid,lat' >> \
2300 # echo 'latency u64 lat' > synthetic_events
2302 …# echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) i…
2303 # echo 'hist:keys=lat,common_pid:sort=lat' > events/synthetic/latency/trigger
[all …]
/kernel/linux/linux-6.6/Documentation/trace/
Dhistogram.rst1825 with 3 fields: lat, pid, and prio. Each of those fields is simply a
1829 u64 lat; \
1838 wakeup_latency u64 lat; pid_t pid; int prio
1843 # echo '!wakeup_latency u64 lat pid_t pid int prio' >> \
1861 # echo 'hist:keys=pid,prio,lat.log2:sort=lat' >> \
1864 The above shows the latency "lat" in a power of 2 grouping.
1873 # trigger info: hist:keys=pid,prio,lat.log2:vals=hitcount:sort=lat.log2:size=2048 [active]
1876 { pid: 2035, prio: 9, lat: ~ 2^2 } hitcount: 43
1877 { pid: 2034, prio: 9, lat: ~ 2^2 } hitcount: 60
1878 { pid: 2029, prio: 9, lat: ~ 2^2 } hitcount: 965
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_msg_queue.h37 * @ready_queue: list of ready lat buffer queues
38 * @ready_lock: spin lock to protect the lat buffer usage
45 /* protect lat buffer */
52 * struct vdec_lat_buf - lat buffer message used to store lat info for core decode
53 * @wdma_err_addr: wdma error address used for lat hardware
54 * @slice_bc_addr: slice bc address used for lat hardware
55 * @rd_mv_addr: mv addr for av1 lat hardware output, core hardware input
60 * @private_data: shared information used to lat and core hardware
63 * @lat_list: add lat buffer to lat head list
64 * @core_list: add lat buffer to core head list
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Dmediatek,vcodec-subdev-decoder.yaml22 | input -> lat soc HW -> lat HW -> lat buffer --|--> lat buffer -> core HW -> output |
25 || lat || | core workqueue <parent>
32 | (lat/lat soc/core0/core1) |
38 There are two workqueues in parent device: lat workqueue and core workqueue. They are used
39 to lat and core hardware decoder. Lat workqueue need to get input bitstream and lat buffer,
40 then enable lat to decode, writing the result to lat buffer, dislabe hardware when lat decode
41 done. Core workqueue need to get lat buffer and output buffer, then enable core to decode,
48 Lat soc is a hardware which is related with some larb(local arbiter) ports. For mt8195
49 platform, there are some ports like RDMA, UFO in lat soc larb, need to enable its power and
50 clock when lat start to work, don't have interrupt.
[all …]
/kernel/linux/linux-5.10/kernel/
Dlatencytop.c87 struct latency_record *lat) in account_global_scheduler_latency() argument
106 unsigned long record = lat->backtrace[q]; in account_global_scheduler_latency()
119 latency_record[i].time += lat->time; in account_global_scheduler_latency()
120 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
121 latency_record[i].max = lat->time; in account_global_scheduler_latency()
131 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency()
155 struct latency_record lat; in __account_scheduler_latency() local
166 memset(&lat, 0, sizeof(lat)); in __account_scheduler_latency()
167 lat.count = 1; in __account_scheduler_latency()
168 lat.time = usecs; in __account_scheduler_latency()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-inter-event-combined-hist.tc13 echo 'waking_latency u64 lat pid_t pid' > synthetic_events
22 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger
24 echo 'wakeup_latency u64 lat pid_t pid' >> synthetic_events
28 echo 'waking_plus_wakeup_latency u64 lat; pid_t pid' >> synthetic_events
29 echo 'hist:keys=pid,lat:sort=pid,lat:ww_lat=$waking_lat+$wakeup_lat:onmatch(synthetic.wakeup_latenc…
30 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking_plus_wakeup_latency/trigger
Dtrigger-synthetic-event-dynstring.tc13 echo 'ping_test_latency u64 lat; char filename[]' > synthetic_events
22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_late…
23 echo 'hist:keys=filename,lat:sort=filename,lat' > events/synthetic/ping_test_latency/trigger
Dtrigger-onmatch-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
Dtrigger-trace-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-inter-event-combined-hist.tc13 echo 'waking_latency u64 lat pid_t pid' > synthetic_events
22 echo 'hist:keys=pid,lat:sort=pid,lat' > events/synthetic/waking_latency/trigger
24 echo 'wakeup_latency u64 lat pid_t pid' >> synthetic_events
28 echo 'waking_plus_wakeup_latency u64 lat; pid_t pid' >> synthetic_events
29 echo 'hist:keys=pid,lat:sort=pid,lat:ww_lat=$waking_lat+$wakeup_lat:onmatch(synthetic.wakeup_latenc…
30 echo 'hist:keys=pid,lat:sort=pid,lat' >> events/synthetic/waking_plus_wakeup_latency/trigger
Dtrigger-synthetic-event-dynstring.tc13 echo 'ping_test_latency u64 lat; char filename[]' > synthetic_events
22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_late…
23 echo 'hist:keys=filename,lat:sort=filename,lat' > events/synthetic/ping_test_latency/trigger
Dtrigger-onmatch-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
Dtrigger-trace-action-hist.tc13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events
23 echo 'hist:keys=comm,pid,lat:wakeup_lat=lat:sort=lat' > events/synthetic/wakeup_latency/trigger
/kernel/linux/linux-6.6/kernel/
Dlatencytop.c113 struct latency_record *lat) in account_global_scheduler_latency() argument
132 unsigned long record = lat->backtrace[q]; in account_global_scheduler_latency()
145 latency_record[i].time += lat->time; in account_global_scheduler_latency()
146 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
147 latency_record[i].max = lat->time; in account_global_scheduler_latency()
157 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency()
181 struct latency_record lat; in __account_scheduler_latency() local
192 memset(&lat, 0, sizeof(lat)); in __account_scheduler_latency()
193 lat.count = 1; in __account_scheduler_latency()
194 lat.time = usecs; in __account_scheduler_latency()
[all …]
/kernel/linux/linux-5.10/fs/ceph/
Dmetric.c241 ktime_t *sq_sump, ktime_t lat) in __update_latency() argument
246 lsum = (*lsump += lat); in __update_latency()
248 if (unlikely(lat < *min)) in __update_latency()
249 *min = lat; in __update_latency()
250 if (unlikely(lat > *max)) in __update_latency()
251 *max = lat; in __update_latency()
256 /* the sq is (lat - old_avg) * (lat - new_avg) */ in __update_latency()
257 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_latency()
258 sq = lat - avg; in __update_latency()
260 sq = sq * (lat - avg); in __update_latency()
[all …]
/kernel/linux/linux-6.6/tools/testing/ktest/examples/bootconfigs/
Dboottrace.bconf12 fields = "unsigned long func", "u64 lat"
14 keys = func.sym,lat
15 values = lat
16 sort = lat
25 var.lat = common_timestamp.usecs - $ts0
28 trace = initcall_latency, func, $lat
Dverify-boottrace.sh55 …ial "events/synthetic/initcall_latency/trigger" "hist:keys=func.sym,lat:vals=hitcount,lat:sort=lat"
61 …itcount:lat=common_timestamp.usecs-\$ts0:sort=hitcount:size=2048:clock=global:onmatch(initcall.ini…
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-trace-marker-synthetic-kernel.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
Dtrigger-trace-marker-synthetic.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if b…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-trace-marker-synthetic-kernel.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
Dtrigger-trace-marker-synthetic.tc14 echo 'latency u64 lat' > synthetic_events
16 echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if b…
17 echo 'hist:keys=common_pid,lat:sort=lat' > events/synthetic/latency/trigger
/kernel/linux/linux-6.6/fs/ceph/
Dmetric.c79 ktime_to_ceph_timespec(&read->lat, sum); in ceph_mdsc_send_metrics()
92 ktime_to_ceph_timespec(&write->lat, sum); in ceph_mdsc_send_metrics()
105 ktime_to_ceph_timespec(&meta->lat, sum); in ceph_mdsc_send_metrics()
328 ktime_t *sq_sump, ktime_t lat) in __update_mean_and_stdev() argument
333 *lavg = lat; in __update_mean_and_stdev()
335 /* the sq is (lat - old_avg) * (lat - new_avg) */ in __update_mean_and_stdev()
336 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev()
337 *sq_sump += (lat - *lavg)*(lat - avg); in __update_mean_and_stdev()
346 ktime_t lat = ktime_sub(r_end, r_start); in ceph_update_metrics() local
356 m->latency_sum += lat; in ceph_update_metrics()
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Dwbt.h57 * @lat: latency trigger
61 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat),
63 TP_ARGS(bdi, lat),
67 __field(unsigned long, lat)
73 __entry->lat = div_u64(lat, 1000);
77 (unsigned long long) __entry->lat)
/kernel/linux/linux-5.10/include/trace/events/
Dwbt.h57 * @lat: latency trigger
61 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat),
63 TP_ARGS(bdi, lat),
67 __field(unsigned long, lat)
73 __entry->lat = div_u64(lat, 1000);
77 (unsigned long long) __entry->lat)
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/dynevent/
Dgeneric_clear_event.tc13 echo "s:latency1 u64 lat; pid_t pid;" >> dynamic_events
15 echo "s:latency2 u64 lat; pid_t pid;" >> dynamic_events
31 echo "!s:latency1 u64 lat; pid_t pid;" >> dynamic_events
40 echo "!s:latency2 u64 lat; pid_t pid;" >> dynamic_events

1234567