/linux-6.12.1/Documentation/trace/ |
D | histogram.rst | 1825 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 …]
|
D | boottime-trace.rst | 224 fields = "unsigned long func", "u64 lat" 226 keys = func.sym, lat 227 values = lat 228 sort = lat 237 var.lat = common_timestamp.usecs - $ts0 240 trace = initcall_latency, func, $lat
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/ |
D | vdec_msg_queue.h | 37 * @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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/ |
D | mediatek,vcodec-subdev-decoder.yaml | 22 | 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 …]
|
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
D | trigger-inter-event-combined-hist.tc | 13 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
|
D | trigger-synthetic-event-dynstring.tc | 13 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
|
D | trigger-onmatch-action-hist.tc | 13 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
|
D | trigger-trace-action-hist.tc | 13 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
|
D | trigger-onmatch-onmax-action-hist.tc | 13 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
|
D | trigger-synthetic-event-createremove.tc | 13 echo 'wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events 21 echo '!wakeup_latency u64 lat pid_t pid char comm[16]' >> synthetic_events 29 echo 'wakeup_latency u64 lat pid_t pid char' > synthetic_events > /dev/null
|
/linux-6.12.1/kernel/ |
D | latencytop.c | 112 struct latency_record *lat) in account_global_scheduler_latency() argument 131 unsigned long record = lat->backtrace[q]; in account_global_scheduler_latency() 144 latency_record[i].time += lat->time; in account_global_scheduler_latency() 145 if (lat->time > latency_record[i].max) in account_global_scheduler_latency() 146 latency_record[i].max = lat->time; in account_global_scheduler_latency() 156 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency() 180 struct latency_record lat; in __account_scheduler_latency() local 191 memset(&lat, 0, sizeof(lat)); in __account_scheduler_latency() 192 lat.count = 1; in __account_scheduler_latency() 193 lat.time = usecs; in __account_scheduler_latency() [all …]
|
/linux-6.12.1/tools/testing/ktest/examples/bootconfigs/ |
D | boottrace.bconf | 12 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
|
D | verify-boottrace.sh | 55 …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…
|
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-trace-marker-synthetic-kernel.tc | 14 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
|
D | trigger-trace-marker-synthetic.tc | 14 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
|
/linux-6.12.1/fs/ceph/ |
D | metric.c | 80 ktime_to_ceph_timespec(&read->lat, sum); in ceph_mdsc_send_metrics() 93 ktime_to_ceph_timespec(&write->lat, sum); in ceph_mdsc_send_metrics() 106 ktime_to_ceph_timespec(&meta->lat, sum); in ceph_mdsc_send_metrics() 329 ktime_t *sq_sump, ktime_t lat) in __update_mean_and_stdev() argument 334 *lavg = lat; in __update_mean_and_stdev() 336 /* the sq is (lat - old_avg) * (lat - new_avg) */ in __update_mean_and_stdev() 337 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev() 338 *sq_sump += (lat - *lavg)*(lat - avg); in __update_mean_and_stdev() 347 ktime_t lat = ktime_sub(r_end, r_start); in ceph_update_metrics() local 357 m->latency_sum += lat; in ceph_update_metrics() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | wbt.h | 57 * @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)
|
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/dynevent/ |
D | generic_clear_event.tc | 13 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
|
/linux-6.12.1/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 551 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \ 555 spin_lock_bh(&lat->lock); \ 556 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \ 557 fmin = lat->_name.fabric.min * adapter->timer_ticks; \ 558 fmax = lat->_name.fabric.max * adapter->timer_ticks; \ 559 csum = lat->_name.channel.sum * adapter->timer_ticks; \ 560 cmin = lat->_name.channel.min * adapter->timer_ticks; \ 561 cmax = lat->_name.channel.max * adapter->timer_ticks; \ 562 cc = lat->_name.counter; \ 563 spin_unlock_bh(&lat->lock); \ [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | fin_ack_lat.c | 37 unsigned long lat, sum_lat = 0, nr_lat = 0; in client() local 69 lat = timediff(start, end); in client() 70 sum_lat += lat; in client() 72 if (lat < 100000) in client() 77 printf("port: %d, lat: %lu, avg: %lu, nr: %lu\n", in client() 78 ntohs(laddr.sin_port), lat, in client()
|
/linux-6.12.1/tools/testing/selftests/timers/ |
D | .gitignore | 8 mqueue-lat 10 nsleep-lat 16 set-timer-lat
|
D | Makefile | 7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
|
/linux-6.12.1/tools/perf/scripts/python/ |
D | event_analyzing_sample.py | 66 lat integer 104 event.ip, event.status, event.dse, event.dla, event.lat)) 186 latq = con.execute("select lat, count(lat) from pebs_ll group by lat order by lat")
|
/linux-6.12.1/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | EventClass.py | 83 # LAT: the actual latency in cycles 89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf) 93 self.lat = lat
|
/linux-6.12.1/sound/soc/codecs/ |
D | wm8741.h | 44 #define WM8741_LAT_4_0_MASK 0x001F /* LAT[4:0] - [4:0] */ 45 #define WM8741_LAT_4_0_SHIFT 0 /* LAT[4:0] - [4:0] */ 46 #define WM8741_LAT_4_0_WIDTH 5 /* LAT[4:0] - [4:0] */ 55 #define WM8741_LAT_9_5_0_MASK 0x001F /* LAT[9:5] - [4:0] */ 56 #define WM8741_LAT_9_5_0_SHIFT 0 /* LAT[9:5] - [4:0] */ 57 #define WM8741_LAT_9_5_0_WIDTH 5 /* LAT[9:5] - [4:0] */
|