/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-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 …]
|
H A D | metafmt-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 …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A 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 …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/ |
H A 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 …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
H A 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"
|
H A 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"
|
H A 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"
|
H A 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"
|
H A 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"
|
H A 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"
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A 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 …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
H A 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 …]
|
/openbmc/linux/drivers/s390/block/ |
H A 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/netperf/ |
H A D | netperf_git.bb | 15 file://0001-netlib.c-Move-including-sched.h-out-og-function.patch \ 16 file://0001-nettest_omni-Remove-duplicate-variable-definitions.patch \ 24 inherit update-rc.d autotools texinfo systemd 27 CFLAGS:append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE" 31 CFLAGS:append = " -D_FILE_OFFSET_BITS=64" 34 PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools," 35 PACKAGECONFIG[intervals] = "--enable-intervals,--disable-intervals,," 36 PACKAGECONFIG[histogram] = "--enable-histogram,--disable-histogram,," 39 # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4. 41 test -d ${S}/m4/m4 && mv -f ${S}/m4/m4 ${S}/m4-files [all …]
|
/openbmc/linux/tools/tracing/rtla/src/ |
H A D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 67 * osnoise_free_histogram - free runtime data 74 /* one histogram for IRQ and one for thread, per CPU */ in osnoise_free_histogram() 75 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram() 76 if (data->hist[cpu].samples) in osnoise_free_histogram() 77 free(data->hist[cpu].samples); in osnoise_free_histogram() 81 if (data->hist) in osnoise_free_histogram() 82 free(data->hist); in osnoise_free_histogram() 88 * osnoise_alloc_histogram - alloc runtime data 96 data = calloc(1, sizeof(*data)); in osnoise_alloc_histogram() [all …]
|
/openbmc/linux/Documentation/trace/ |
H A 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 …]
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | patchreview.py | 5 # SPDX-License-Identifier: GPL-2.0-only 22 # - option to just list all broken files 23 # - test suite 24 # - validate signed-off-by 26 … = ("accepted", "pending", "inappropriate", "backport", "submitted", "denied", "inactive-upstream") 29 # Whether the patch has an Upstream-Status or not 31 # If the Upstream-Status tag is malformed in some way (string for bad bit) 33 # If the Upstream-Status value is unknown (boolean) 37 # Whether the patch has a Signed-off-by or not 39 # Whether the Signed-off-by tag is malformed in some way [all …]
|
/openbmc/linux/Documentation/tools/rtla/ |
H A 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 …]
|
H A 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. 37 in the cpus *0-4*, *skipping zero* only lines. Moreover, **rtla timerlat 39 *SCHED_DEADLINE* priority, with a *100us* runtime every *1ms* period. The 40 *1ms* period is also passed to the *timerlat* tracer. Auto-analysis is disabled 43 [root@alien ~]# timerlat hist -d 10m -c 0-4 -P d:100us:1ms -p 1000 --no-aa [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only 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 …]
|
/openbmc/openbmc/meta-arm/ci/ |
H A D | patchreview | 3 # SPDX-License-Identifier: GPL-2.0-only 7 # - option to just list all broken files 8 # - test suite 9 # - validate signed-off-by 29 # Whether the patch has an Upstream-Status or not 31 # If the Upstream-Status tag is malformed in some way (string for bad bit) 33 # If the Upstream-Status value is unknown (boolean) 37 # Whether the patch has a Signed-off-by or not 39 # Whether the Signed-off-by tag is malformed in some way 41 # The Signed-off-by tag value [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A 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 …]
|
/openbmc/openbmc/poky/scripts/contrib/bb-perf/ |
H A D | buildstats-plot.sh | 5 # SPDX-License-Identifier: GPL-2.0-or-later 10 # depending if either the -S parameter is present or not: 12 # * without -S: Produces a histogram listing top N recipes/tasks versus 13 # stats. The first stat defined in the -s parameter is the one taken 15 # * -S: Produces a histogram listing tasks versus stats. In this case, 17 # Stats values are in descending order defined by the first stat defined on -s 21 # 1. Top recipes' tasks taking into account utime 23 # $ buildstats-plot.sh -s utime | gnuplot -p 27 # $ buildstats-plot.sh -s utime:stime -S | gnuplot -p 31 # $ buildstats-plot.sh -s 'IO write_bytes:IO read_bytes' -S | gnuplot -p [all …]
|
/openbmc/linux/arch/s390/include/uapi/asm/ |
H A 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 123 * Read Subsystem Data - Performance Statistics 126 unsigned char invalid:1; 166 unsigned int dasd_io_secs[32]; /* histogram of request's sizes */ 167 unsigned int dasd_io_times[32]; /* histogram of requests's times */ 168 unsigned int dasd_io_timps[32]; /* histogram of requests's times per sector */ 169 unsigned int dasd_io_time1[32]; /* histogram of time from build to start */ [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A 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 …]
|