Home
last modified time | relevance | path

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

12345678910>>...29

/kernel/linux/linux-5.10/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.c148 pr_info("CPU[%i] CPUM_SF: Basic-sampling: a=%i e=%i c=%i" in print_debug_sf()
152 pr_info("CPU[%i] CPUM_SF: Diagnostic-sampling: a=%i e=%i c=%i" in print_debug_sf()
193 seq_printf(m, "CPU-MF: Sampling facility: min_rate=%lu max_rate=%lu" in sl_print_sampling()
197 seq_printf(m, "CPU-MF: Sampling facility: mode=basic" in sl_print_sampling()
200 seq_printf(m, "CPU-MF: Sampling facility: mode=diagnostic" in sl_print_sampling()
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/drivers/tty/serial/
Dsh-sci.h27 HSSRR, /* Sampling Rate Register */
51 #define SCSMR_SRC_MASK 0x0700 /* Sampling Control */
52 #define SCSMR_SRC_16 0x0000 /* Sampling rate 1/16 */
53 #define SCSMR_SRC_5 0x0100 /* Sampling rate 1/5 */
54 #define SCSMR_SRC_7 0x0200 /* Sampling rate 1/7 */
55 #define SCSMR_SRC_11 0x0300 /* Sampling rate 1/11 */
56 #define SCSMR_SRC_13 0x0400 /* Sampling rate 1/13 */
57 #define SCSMR_SRC_17 0x0500 /* Sampling rate 1/17 */
58 #define SCSMR_SRC_19 0x0600 /* Sampling rate 1/19 */
59 #define SCSMR_SRC_27 0x0700 /* Sampling rate 1/27 */
[all …]
/kernel/liteos_a/kernel/extended/perf/
DKconfig21 int "Perf Sampling Buffer Size"
26 bool "Enable Hardware Pmu Events for Sampling"
31 bool "Enable Hrtimer Period Events for Sampling"
36 bool "Enable Software Events for Sampling"
/kernel/linux/linux-5.10/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…
/kernel/linux/linux-5.10/include/drm/
Ddrm_fourcc.h190 * YUV format with 4:1:0 sub-sampling
195 * sub-sampling.
205 * YUV format with 4:1:1 sub-sampling
210 * sub-sampling.
220 * YUV format with 4:2:0 sub-sampling
225 * sub-sampling.
235 * YUV format with 4:2:2 sub-sampling
240 * sub-sampling.
250 * YUV format with 4:4:4 sub-sampling
255 * sub-sampling.
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_pmu.h61 * @timer: Timer for internal i915 PMU sampling.
89 * and they are used to control sampling on/off when multiple clients
94 * @timer_enabled: Should the internal sampling timer be running.
98 * @sample: Current and previous (raw) counters for sampling events.
100 * These counters are updated from the i915 PMU sampling timer.
/kernel/linux/linux-5.10/net/psample/
DKconfig3 # psample packet sampling configuration
8 tristate "Packet-sampling netlink channel"
11 Say Y here to add support for packet-sampling netlink channel
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/staging/iio/adc/
Dspear-adc.txt7 - sampling-frequency: Default sampling frequency
22 sampling-frequency = <5000000>;
/kernel/linux/linux-5.10/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) */
69 /* Sampling data comparison: 1 for match, 0 for mismatch */
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dperfmon.h53 #define PFM_REGFL_RANDOM 0x2 /* randomize sampling interval */
67 typedef unsigned char pfm_uuid_t[16]; /* custom sampling buffer identifier type */
78 void *ctx_smpl_vaddr; /* return arg: virtual address of sampling buffer, is used */
102 unsigned long reg_smpl_eventid; /* opaque sampling event identifier */
161 * Define the version numbers for both perfmon as a whole and the sampling buffer format.
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_hwlat.c27 * sampling the built-in CPU timer, looking for discontiguous readings.
57 /* sampling thread*/
96 u64 sample_window; /* total sampling window (on+off) */
97 u64 sample_width; /* active sampling portion of window */
321 * kthread_fn - The CPU time sampling/hardware latency detection kernel thread
360 * start_kthread - Kick off the hardware latency sampling/detector kthread
382 pr_err(BANNER "could not start sampling thread\n"); in start_kthread()
399 * This kicks the running hardware latency sampling/detector kernel thread and
400 * tells it to stop sampling now. Use this on unload and at system shutdown.
491 * actual sampling occurs. Can be used to write a new total window size. It
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnau8824.txt53 - nuvoton,sar-sampling-time: SAR sampling time
85 nuvoton,sar-sampling-time = <1>;
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/tools/perf/util/
Ds390-cpumsf-kernel.h3 * Auxtrace support for s390 CPU measurement sampling facility
41 struct hws_basic_entry basic; /* Basic-sampling data entry */
42 struct hws_diag_entry diag; /* Diagnostic-sampling data entry */
/kernel/linux/linux-5.10/Documentation/admin-guide/hw-vuln/
Dmds.rst1 MDS - Microarchitectural Data Sampling
4 Microarchitectural Data Sampling is a hardware vulnerability which allows
36 CVE-2018-12126 MSBDS Microarchitectural Store Buffer Data Sampling
37 CVE-2018-12130 MFBDS Microarchitectural Fill Buffer Data Sampling
38 CVE-2018-12127 MLPDS Microarchitectural Load Port Data Sampling
39 CVE-2019-11091 MDSUM Microarchitectural Data Sampling Uncacheable Memory
73 consequence the attacks are purely sampling based, but as demonstrated with
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uac29 c_srate capture sampling rate
12 p_srate playback sampling rate

12345678910>>...29