Home
last modified time | relevance | path

Searched full:sampling (Results 1 – 25 of 745) sorted by relevance

12345678910>>...30

/Linux-v5.15/arch/s390/kernel/
Dperf_cpum_sf.c3 * Performance event support for the System z CPU-measurement Sampling Facility
27 * At least one table is required for the sampling buffer structure.
48 /* Minimum and maximum sampling buffer sizes:
50 * This number represents the maximum size of the sampling buffer taking
52 * numbers apply to the basic-sampling function only.
54 * the diagnostic-sampling function is active.
56 * Sampling buffer size Buffer characteristics
88 /* CPU-measurement sampling information block */
90 /* CPU-measurement sampling control block */
92 struct sf_buffer sfb; /* Sampling buffer */
[all …]
Dperf_event.c127 pr_info("CPU[%i] CPUM_SF: Basic-sampling: a=%i e=%i c=%i" in print_debug_sf()
131 pr_info("CPU[%i] CPUM_SF: Diagnostic-sampling: a=%i e=%i c=%i" in print_debug_sf()
172 seq_printf(m, "CPU-MF: Sampling facility: min_rate=%lu max_rate=%lu" in sl_print_sampling()
176 seq_printf(m, "CPU-MF: Sampling facility: mode=basic" in sl_print_sampling()
179 seq_printf(m, "CPU-MF: Sampling facility: mode=diagnostic" in sl_print_sampling()
/Linux-v5.15/arch/s390/include/asm/
Dcpu_mf.h31 #define CPU_MF_SF_RIBM_NOTAV 0x1 /* Sampling unavailable */
57 /* QUERY SAMPLING INFORMATION block */
60 unsigned int as:1; /* 14: basic-sampling authorization */
61 unsigned int ad:1; /* 15: diag-sampling authorization */
63 unsigned int es:1; /* 22: basic-sampling enable control */
64 unsigned int ed:1; /* 23: diag-sampling enable control */
66 unsigned int cs:1; /* 30: basic-sampling activation control */
67 unsigned int cd:1; /* 31: diag-sampling activation control */
68 unsigned int bsdes:16; /* 4-5: size of basic sampling entry */
69 unsigned int dsdes:16; /* 6-7: size of diagnostic sampling entry */
[all …]
Dperf_event.h54 /* Perf PMU definitions for the sampling facility */
56 #define PERF_EVENT_CPUM_SF 0xB0000UL /* Event: Basic-sampling */
57 #define PERF_EVENT_CPUM_SF_DIAG 0xBD000UL /* Event: Combined-sampling */
59 #define PERF_CPUM_SF_BASIC_MODE 0x0001 /* Basic-sampling flag */
60 #define PERF_CPUM_SF_DIAG_MODE 0x0002 /* Diagnostic-sampling flag */
64 #define PERF_CPUM_SF_FREQ_MODE 0x0008 /* Sampling with frequency */
/Linux-v5.15/drivers/iio/pressure/
Dzpa2326.c18 * ZPA2326 hardware supports 2 sampling mode: one shot and continuous.
20 * A complete one shot sampling cycle gets device out of low power mode,
22 * back to low power mode. It is meant for on demand sampling with optimal power
23 * saving at the cost of lower sampling rate and higher software overhead.
35 * - setup hardware sampling period,
38 * - when no longer needed, stop sampling process by putting device into
44 * Note that hardware sampling frequency is taken into account only when
45 * internal hardware trigger is attached as the highest sampling rate seems to
50 * differential pressure sampling ;
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
[all …]
/Linux-v5.15/tools/lib/perf/Documentation/
Dlibperf-sampling.txt1 libperf-sampling(7)
6 libperf-sampling - sampling interface
11 The sampling interface provides API to measure and get count for specific perf events.
13 The following test tries to explain count on `sampling.c` example.
15 It is by no means complete guide to sampling, but shows libperf basic API for sampling.
17 The `sampling.c` comes with libperf package and can be compiled and run like:
21 $ gcc -o sampling sampling.c -lperf
22 $ sudo ./sampling
36 The `sampling.c` example profiles/samples all CPUs with hardware cycles, in a
158 From this moment the cycles event is sampling.
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dtc_sample.sh233 check_err $? "Failed to configure sampling rule"
264 check_err $? "Failed to configure sampling rule with max rate"
271 check_fail $? "Managed to configure sampling rate above maximum"
280 # Test that two sampling rules cannot be configured on the same port,
285 check_err $? "Failed to configure sampling rule"
289 check_fail $? "Managed to configure second sampling rule"
298 check_err $? "Failed to configure sampling rule after deletion"
309 # Test that two sampling rules cannot be configured on the same port
314 check_err $? "Failed to configure sampling rule"
318 check_fail $? "Managed to configure sampling rule with conflicting group"
[all …]
/Linux-v5.15/drivers/tty/serial/
Dsh-sci.h27 HSSRR, /* Sampling Rate Register */
52 #define SCSMR_SRC_MASK 0x0700 /* Sampling Control */
53 #define SCSMR_SRC_16 0x0000 /* Sampling rate 1/16 */
54 #define SCSMR_SRC_5 0x0100 /* Sampling rate 1/5 */
55 #define SCSMR_SRC_7 0x0200 /* Sampling rate 1/7 */
56 #define SCSMR_SRC_11 0x0300 /* Sampling rate 1/11 */
57 #define SCSMR_SRC_13 0x0400 /* Sampling rate 1/13 */
58 #define SCSMR_SRC_17 0x0500 /* Sampling rate 1/17 */
59 #define SCSMR_SRC_19 0x0600 /* Sampling rate 1/19 */
60 #define SCSMR_SRC_27 0x0700 /* Sampling rate 1/27 */
[all …]
/Linux-v5.15/Documentation/sound/cards/
Dmaya44.rst29 - playback and capture at all sampling rates
63 * pci/ice1724/ice1724.h.patch - PROPOSED patch to ice1724.h (see SAMPLING RATES)
92 SAMPLING RATES
95 The Maya44 card (or more exactly, the Wolfson WM8776 codecs) allow a maximum sampling rate of 192 k…
97 As the ICE1724 chip only allows one global sampling rate, this is handled as follows:
99 * setting the sampling rate on any open PCM device on the maya44 card will always set the *global*
106 …ditional code for limiting the sampling rate when setting on a capture pcm device. However because…
/Linux-v5.15/Documentation/vm/damon/
Ddesign.rst77 implementation finds and clears the bit for next sampling target address and
78 checks whether the bit set again after one sampling period. This could disturb
89 monitoring attributes, ``sampling interval``, ``aggregation interval``,
99 ``sampling interval`` and ``aggregation interval``. In detail, DAMON checks
100 access to each page per ``sampling interval`` and aggregates the results. In
115 sleep(sampling interval)
121 Region Based Sampling
127 one page in the region is required to be checked. Thus, for each ``sampling
129 ``sampling interval``, checks whether the page is accessed meanwhile, and
/Linux-v5.15/tools/testing/selftests/drivers/net/netdevsim/
Dpsample.sh42 check_err $? "Failed to enable sampling when should not"
45 check_fail $? "Sampling enablement succeeded when should fail"
53 check_err $? "Failed to disable sampling when should not"
56 check_fail $? "Sampling disablement succeeded when should fail"
82 check_fail $? "Group number changed while sampling is active"
88 check_err $? "Group number did not change after restarting sampling"
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_pmu.h29 * Slots used from the sampling timer (non-engine events) with some extras for
79 * @timer: Timer for internal i915 PMU sampling.
106 * and they are used to control sampling on/off when multiple clients
111 * @timer_enabled: Should the internal sampling timer be running.
115 * @sample: Current and previous (raw) counters for sampling events.
117 * These counters are updated from the i915 PMU sampling timer.
/Linux-v5.15/include/drm/
Ddrm_fourcc.h187 * YUV format with 4:1:0 sub-sampling
192 * sub-sampling.
202 * YUV format with 4:1:1 sub-sampling
207 * sub-sampling.
217 * YUV format with 4:2:0 sub-sampling
222 * sub-sampling.
232 * YUV format with 4:2:2 sub-sampling
237 * sub-sampling.
247 * YUV format with 4:4:4 sub-sampling
252 * sub-sampling.
/Linux-v5.15/tools/perf/arch/s390/util/
Dauxtrace.c14 #define PERF_EVENT_CPUM_SF 0xB0000 /* Event: Basic-sampling */
15 #define PERF_EVENT_CPUM_SF_DIAG 0xBD000 /* Event: Combined-sampling */
59 * DEFAULT_AUX_PAGES is an proper size when sampling frequency in cpumsf_recording_options()
61 * of sampling data. The size used for AUX buffer will scale in cpumsf_recording_options()
108 /* sampling in diagnose mode. alloc aux buffer */ in auxtrace_record__init()
/Linux-v5.15/net/psample/
DKconfig3 # psample packet sampling configuration
7 tristate "Packet-sampling netlink channel"
10 Say Y here to add support for packet-sampling netlink channel
/Linux-v5.15/Documentation/devicetree/bindings/staging/iio/adc/
Dspear-adc.txt7 - sampling-frequency: Default sampling frequency
22 sampling-frequency = <5000000>;
/Linux-v5.15/kernel/trace/
Dtrace_hwlat.c27 * sampling the built-in CPU timer, looking for discontiguous readings.
109 u64 sample_window; /* total sampling window (on+off) */
110 u64 sample_width; /* active sampling portion of window */
351 * kthread_fn - The CPU time sampling/hardware latency detection kernel thread
391 * stop_stop_kthread - Inform the hardware latency sampling/detector kthread to stop
393 * This kicks the running hardware latency sampling/detector kernel thread and
394 * tells it to stop sampling now. Use this on unload and at system shutdown.
416 * start_single_kthread - Kick off the hardware latency sampling/detector kthread
434 pr_err(BANNER "could not start sampling thread\n"); in start_single_kthread()
473 * stop_per_cpu_kthreads - Inform the hardware latency sampling/detector kthread to stop
[all …]
Dtrace_osnoise.c92 * one sampling thread.
96 bool sampling; member
229 u64 sample_period; /* total sampling period */
230 u64 sample_runtime; /* active sampling portion of period */
252 * Boolean variable used to inform that the tracer is currently sampling.
672 if (!osn_var->sampling) in trace_osnoise_callback()
711 if (!osn_var->sampling) in osnoise_trace_irq_entry()
735 if (!osn_var->sampling) in osnoise_trace_irq_exit()
842 if (!osn_var->sampling) in trace_softirq_entry_callback()
866 if (!osn_var->sampling) in trace_softirq_exit_callback()
[all …]
/Linux-v5.15/drivers/media/pci/cx88/
Dcx88-input.c36 u32 sampling; member
199 if (ir->sampling) { in __cx88_ir_start()
216 if (ir->sampling) { in __cx88_ir_stop()
291 ir->sampling = 0xeb04; /* address */ in cx88_ir_init()
305 ir->sampling = 1; in cx88_ir_init()
397 ir->sampling = 0xff00; /* address */ in cx88_ir_init()
403 ir->sampling = 0xff00; /* address */ in cx88_ir_init()
407 ir->sampling = 0xff00; /* address */ in cx88_ir_init()
424 ir->sampling = 1; in cx88_ir_init()
434 ir->sampling = 0xff00; /* address */ in cx88_ir_init()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/spi/
Dspi-samsung.txt61 - samsung,spi-feedback-delay: The sampling phase shift to be applied on the
66 - 1: 90 degree phase shift sampling.
67 - 2: 180 degree phase shift sampling.
68 - 3: 270 degree phase shift sampling.
/Linux-v5.15/drivers/mmc/host/
Drenesas_sdhi.h17 u32 tap; /* sampling clock position for SDR104/HS400 (8 TAP) */
18 u32 tap_hs400_4tap; /* sampling clock position for HS400 (4 TAP) */
74 /* Sampling data comparison: 1 for match, 0 for mismatch */
/Linux-v5.15/Documentation/x86/
Dmds.rst1 Microarchitectural Data Sampling (MDS) mitigation
9 Microarchitectural Data Sampling (MDS) is a family of side channel attacks
12 - Microarchitectural Store Buffer Data Sampling (MSBDS) (CVE-2018-12126)
13 - Microarchitectural Fill Buffer Data Sampling (MFBDS) (CVE-2018-12130)
14 - Microarchitectural Load Port Data Sampling (MLPDS) (CVE-2018-12127)
15 - Microarchitectural Data Sampling Uncacheable Memory (MDSUM) (CVE-2019-11091)
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dnau8824.txt53 - nuvoton,sar-sampling-time: SAR sampling time
85 nuvoton,sar-sampling-time = <1>;
Dst,stm32-sai.yaml143 - description: x8k, SAI parent clock for sampling rates multiple of 8kHz.
144 - description: x11k, SAI parent clock for sampling rates multiple of 11.025kHz.
156 - description: x8k, SAI parent clock for sampling rates multiple of 8kHz.
157 - description: x11k, SAI parent clock for sampling rates multiple of 11.025kHz.
/Linux-v5.15/tools/power/cpupower/bench/
DREADME-BENCH74 sampling rate you get:
79 In round 2, if the ondemand sampling times exactly match the load/sleep
91 |-----|-----|-----|-----|-----|-----|-----|---- ondemand sampling (1)
93 |-----|-----|-----|-----|-----|-----|-----|-- ondemand sampling (2)

12345678910>>...30