| /Linux-v6.1/Documentation/userspace-api/media/v4l/ |
| D | pixfmt-meta-vsp1-hgt.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-meta-fmt-vsp1-hgt: 9 Renesas R-Car VSP1 2-D Histogram Data 15 This format describes histogram data generated by the Renesas R-Car VSP1 16 2-D Histogram (HGT) engine. 18 The VSP1 HGT is a histogram computation engine that operates on HSV 21 weighted frequency histogram based on the H and S components. 23 The histogram is a matrix of 6 Hue and 32 Saturation buckets, 192 in 25 between 1 and 16 depending on the Hue areas configuration. Finding the 28 The Saturation position **n** (0 - 31) of the bucket in the matrix is [all …]
|
| D | pixfmt-meta-vsp1-hgo.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-meta-fmt-vsp1-hgo: 9 Renesas R-Car VSP1 1-D Histogram Data 15 This format describes histogram data generated by the Renesas R-Car VSP1 1-D 16 Histogram (HGO) engine. 18 The VSP1 HGO is a histogram computation engine that can operate on RGB, YCrCb 20 computes the minimum, maximum and sum of all pixels as well as per-channel 25 additionally output the histogram with 64 or 256 bins, resulting in four 28 - In *64 bins normal mode*, the HGO operates on the three channels independently 29 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are [all …]
|
| /Linux-v6.1/tools/perf/scripts/python/ |
| D | event_analyzing_sample.py | 2 # SPDX-License-Identifier: GPL-2.0 27 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') 115 # to show the histogram in real number, but use a log2 algorithm. 120 snum = '#' * (int)(math.log(num, 2) + 1) 128 print("There is %d records in gen_events table" % t[0]) 135 …commq = con.execute("select comm, count(comm) from gen_events group by comm order by -count(comm)") 136 print("\n%16s %8s %16s\n%s" % ("comm", "number", "histogram", "="*42)) 138 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1]))) 141 print("\n%32s %8s %16s\n%s" % ("symbol", "number", "histogram", "="*58)) 142 …con.execute("select symbol, count(symbol) from gen_events group by symbol order by -count(symbol)") [all …]
|
| /Linux-v6.1/tools/testing/selftests/ftrace/test.d/trigger/ |
| D | trigger-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test histogram trigger 8 echo $1 12 echo "Test histogram basic trigger" 15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 23 echo "Test histogram with compound keys" 26 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 32 echo "Test histogram with string key" 35 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done 42 echo "Test histogram with sym modifier" [all …]
|
| /Linux-v6.1/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
| D | trigger-onmatch-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger onmatch action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 18 echo "Test create histogram for synthetic event" 19 echo "Test histogram variables,simple expression support and onmatch action" 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_… 25 ping $LOCALHOST -c 5 26 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then 27 fail "Failed to create onmatch action inter-event histogram"
|
| D | trigger-synthetic-event-dynstring.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger trace action with dynamic string … 7 echo $1 14 if [ ! -d events/synthetic/ping_test_latency ]; then 18 echo "Test create histogram for synthetic event using trace action and dynamic strings" 19 echo "Test histogram dynamic string variables,simple expression support and trace action" 22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_late… 25 ping $LOCALHOST -c 5 27 if ! grep -q "ping" events/synthetic/ping_test_latency/hist; then 28 fail "Failed to create dynamic string trace action inter-event histogram"
|
| D | trigger-trace-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger trace action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 18 echo "Test create histogram for synthetic event using trace action" 19 echo "Test histogram variables,simple expression support and trace action" 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).trace(w… 25 ping $LOCALHOST -c 5 27 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then 28 fail "Failed to create trace action inter-event histogram"
|
| D | trigger-onmatch-onmax-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger onmatch-onmax action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 18 echo "Test create histogram for synthetic event" 19 echo "Test histogram variables,simple expression support and onmatch-onmax action" 22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_… 25 ping $LOCALHOST -c 5 26 if [ ! grep -q "ping" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_s… 27 fail "Failed to create onmatch-onmax action inter-event histogram"
|
| D | trigger-inter-event-combined-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event combined histogram trigger 7 echo $1 14 if [ ! -d events/synthetic/waking_latency ]; then 18 echo "Test combined histogram" 21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_laten… 26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_… 32 ping $LOCALHOST -c 3 33 if ! grep -q "pid:" events/synthetic/waking_plus_wakeup_latency/hist; then 34 fail "Failed to create combined histogram"
|
| D | trigger-onmax-action-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger onmax action 7 echo $1 14 if [ ! -d events/synthetic/wakeup_latency ]; then 21 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmax($wakeup_lat).save(next_comm,p… 23 ping $LOCALHOST -c 3 24 if ! grep -q "max:" events/sched/sched_switch/hist; then 25 fail "Failed to create onmax action inter-event histogram"
|
| /Linux-v6.1/tools/tracing/rtla/src/ |
| D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 61 * osnoise_free_histogram - free runtime data 68 /* one histogram for IRQ and one for thread, per CPU */ in osnoise_free_histogram() 69 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram() 70 if (data->hist[cpu].samples) in osnoise_free_histogram() 71 free(data->hist[cpu].samples); in osnoise_free_histogram() 75 if (data->hist) in osnoise_free_histogram() 76 free(data->hist); in osnoise_free_histogram() 82 * osnoise_alloc_histogram - alloc runtime data 90 data = calloc(1, sizeof(*data)); in osnoise_alloc_histogram() [all …]
|
| D | timerlat_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 69 * timerlat_free_histogram - free runtime data 76 /* one histogram for IRQ and one for thread, per CPU */ in timerlat_free_histogram() 77 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in timerlat_free_histogram() 78 if (data->hist[cpu].irq) in timerlat_free_histogram() 79 free(data->hist[cpu].irq); in timerlat_free_histogram() 81 if (data->hist[cpu].thread) in timerlat_free_histogram() 82 free(data->hist[cpu].thread); in timerlat_free_histogram() 86 if (data->hist) in timerlat_free_histogram() 87 free(data->hist); in timerlat_free_histogram() [all …]
|
| /Linux-v6.1/Documentation/admin-guide/device-mapper/ |
| D | statistics.rst | 5 Device Mapper supports the collection of I/O statistics on user-defined 7 collected so there isn't any performance impact. Only bio-based DM 10 Each user-defined region specifies a starting sector, length and step. 11 Individual statistics will be collected for each step-sized area within 14 The I/O statistics counters for each step-sized area of a region are 16 Documentation/admin-guide/iostats.rst). But two extra counters (12 and 13) are 17 provided: total time spent reading and writing. When the histogram 19 histogram of latencies. All these counters may be accessed by sending 34 fallback to using vmalloc space. At most, 1/4 of the overall system 47 "-" [all …]
|
| /Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
| D | ia_css_s3a.host.c | 1 // SPDX-License-Identifier: GPL-2.0 34 {-3344, -6104, -19143, 19143, 6104, 3344, 0}, 35 {1027, 0, -9219, 16384, -9219, 1027, 0} 54 to->y_coef_r = in ia_css_ae_encode() 55 uDIGIT_FITTING(from->ae_y_coef_r, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode() 56 to->y_coef_g = in ia_css_ae_encode() 57 uDIGIT_FITTING(from->ae_y_coef_g, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode() 58 to->y_coef_b = in ia_css_ae_encode() 59 uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode() 70 to->lg_high_raw = in ia_css_awb_encode() [all …]
|
| /Linux-v6.1/drivers/s390/block/ |
| D | dasd_proc.c | 1 // SPDX-License-Identifier: GPL-2.0 42 device = dasd_device_from_devindex((unsigned long) v - 1); in dasd_devices_show() 45 if (device->block) in dasd_devices_show() 46 block = device->block; in dasd_devices_show() 52 seq_printf(m, "%s", dev_name(&device->cdev->dev)); in dasd_devices_show() 54 if (device->discipline != NULL) in dasd_devices_show() 55 seq_printf(m, "(%s)", device->discipline->name); in dasd_devices_show() 59 if (block->gdp) in dasd_devices_show() 60 seq_printf(m, " at (%3d:%6d)", in dasd_devices_show() 61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show() [all …]
|
| /Linux-v6.1/Documentation/trace/ |
| D | histogram.rst | 7 1. Introduction 10 Histogram triggers are special event triggers that can be used to 15 2. Histogram Trigger Command 18 A histogram trigger command is an event trigger command that 33 numeric fields - on an event hit, the value(s) will be added to a 35 in place of an explicit value field - this is simply a count of 45 useful for providing more fine-grained summaries of event data. 51 its histogram data will be shared with other triggers of the same 69 numeric fields are displayed as base-10 integers. This can be 76 .sym-offset display an address as a symbol and offset [all …]
|
| /Linux-v6.1/drivers/md/ |
| D | dm-stats.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/device-mapper.h> 14 #include "dm-core.h" 15 #include "dm-stats.h" 22 * Using 64-bit values to avoid overflow (which is a 33 unsigned long long *histogram; member 62 #define STAT_PRECISE_TIMESTAMPS 1 72 * exhaust 1/4 of all memory or 1/2 of vmalloc space. 91 if (a > (VMALLOC_END - VMALLOC_START) / DM_STATS_VMALLOC_FACTOR) in __check_shared_memory() 138 shared_memory_amount -= alloc_size; in free_shared_memory() [all …]
|
| /Linux-v6.1/Documentation/tools/rtla/ |
| D | rtla-osnoise-hist.rst | 2 rtla-osnoise-hist 4 ------------------------------------------------------ 5 Display a histogram of the osnoise tracer samples 6 ------------------------------------------------------ 8 :Manual section: 1 19 occurrence in a histogram, displaying the results in a user-friendly way. 33 In the example below, *osnoise* tracer threads are set to run with real-time 34 priority *FIFO:1*, on CPUs *0-11*, for *900ms* at each period (*1s* by 37 histogram is set to group outputs in buckets of *10us* and *25* entries:: 39 [root@f34 ~/]# rtla osnoise hist -P F:1 -c 0-11 -r 900000 -d 1M -b 10 -E 25 [all …]
|
| D | rtla-timerlat-hist.rst | 2 rtla-timerlat-hist 4 ------------------------------------------------ 6 ------------------------------------------------ 8 :Manual section: 1 19 The **rtla timerlat hist** displays a histogram of each tracer event 21 **osnoise:** tracepoints are enabled when using the **-T** option. 35 in the cpus *0-4*, *skipping zero* only lines. Moreover, **rtla timerlat 37 *SCHED_DEADLINE* priority, with a *10us* runtime every *1ms* period. The 38 *1ms* period is also passed to the *timerlat* tracer:: 40 [root@alien ~]# timerlat hist -d 10m -c 0-4 -P d:100us:1ms -p 1ms [all …]
|
| /Linux-v6.1/tools/perf/Documentation/ |
| D | perf-ftrace.txt | 1 perf-ftrace(1) 5 ---- 6 perf-ftrace - simple wrapper for kernel's ftrace functionality 10 -------- 15 ----------- 24 (optionally with BPF) and display it as a histogram. 29 -------------- 31 -p:: 32 --pid=:: 35 --tid=:: [all …]
|
| /Linux-v6.1/arch/s390/include/uapi/asm/ |
| D | dasd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 11 * to userspace by the DASDAPIVER-ioctl 20 #define DASD_IOCTL_LETTER 'D' 67 #define DASD_FORMAT_LDL 1 121 * Read Subsystem Data - Performance Statistics 124 unsigned char invalid:1; 164 unsigned int dasd_io_secs[32]; /* histogram of request's sizes */ 165 unsigned int dasd_io_times[32]; /* histogram of requests's times */ 166 unsigned int dasd_io_timps[32]; /* histogram of requests's times per sector */ 167 unsigned int dasd_io_time1[32]; /* histogram of time from build to start */ [all …]
|
| /Linux-v6.1/drivers/net/wireless/marvell/mwifiex/ |
| D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 34 * It prints the following driver related information - 35 * - Driver name 36 * - Driver version 37 * - Driver extended version 38 * - Interface name 39 * - BSS mode 40 * - Media state (connected or disconnected) 41 * - MAC address [all …]
|
| /Linux-v6.1/drivers/net/wireless/ath/ath11k/ |
| D | debugfs_htt_stats.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 16 HTT_STATS_TX_PDEV_UNDERRUN_TAG = 1, 127 HTT_STATS_TX_PDEV_DATA_UNDERRUN_BETWEEN_MPDU = 1, 241 * Tried_mpdu_cnt_hist is the histogram of MPDUs tries per HWQ. 245 * The histogram bins are 0-29, 30-59, 60-89 and so on. The are 246 * 10 bins in this histogram. They are defined in FW using the 457 /* element 0,1, ...7 -> NSS 1,2, ...8 */ 459 /* element 0: 20 MHz, 1: 40 MHz, 2: 80 MHz, 3: 160 and 80+80 MHz */ 465 * (400us, 800us, 1600us & 3200us) in each mcs (0-11) [all …]
|
| /Linux-v6.1/include/uapi/linux/ |
| D | rkisp1-config.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR MIT) */ 13 #define RKISP1_CIF_ISP_MODULE_DPCC (1U << 0) 15 #define RKISP1_CIF_ISP_MODULE_BLS (1U << 1) 16 /* Sensor De-gamma */ 17 #define RKISP1_CIF_ISP_MODULE_SDG (1U << 2) 18 /* Histogram statistics configuration */ 19 #define RKISP1_CIF_ISP_MODULE_HST (1U << 3) 21 #define RKISP1_CIF_ISP_MODULE_LSC (1U << 4) 23 #define RKISP1_CIF_ISP_MODULE_AWB_GAIN (1U << 5) 25 #define RKISP1_CIF_ISP_MODULE_FLT (1U << 6) [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/display/ |
| D | renesas,cmm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car Color Management Module (CMM) 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 12 - Jacopo Mondi <jacopo+renesas@jmondi.org> 15 Renesas R-Car color management module connected to R-Car DU video channels. 16 It provides image enhancement functions such as 1-D look-up tables (LUT), 17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color [all …]
|