/linux/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 3 * Performance event support for the System z CPU-measurement Sampling Facility 26 /* Perf PMU definitions for the sampling facility */ 28 #define PERF_EVENT_CPUM_SF 0xB0000UL /* Event: Basic-sampling */ 29 #define PERF_EVENT_CPUM_SF_DIAG 0xBD000UL /* Event: Combined-sampling */ 30 #define PERF_CPUM_SF_BASIC_MODE 0x0001 /* Basic-sampling flag */ 31 #define PERF_CPUM_SF_DIAG_MODE 0x0002 /* Diagnostic-sampling flag */ 32 #define PERF_CPUM_SF_FREQ_MODE 0x0008 /* Sampling with frequency */ 43 * At least one table is required for the sampling buffer structure. 64 /* Minimum and maximum sampling buffer sizes: 66 * This number represents the maximum size of the sampling buffer taking [all …]
|
H A D | perf_pai_ext.c | 51 struct perf_event *event; /* Perf event for sampling */ 53 struct list_head syswide_list; /* List system-wide sampling events */ 101 * counting and sampling events. 103 * sampling and counting on that cpu is zero. 108 /* Free all memory allocated for event counting/sampling setup */ 150 * sampling for pai_extension events. 152 * Only one instance of event pai_ext/NNPA_ALL/ for sampling is 154 * Several counting events are allowed in parallel, but no sampling event 284 /* Allow only event NNPA_ALL for sampling. */ in paiext_event_init() 290 /* Get a page to store last counter values for sampling */ in paiext_event_init() [all …]
|
H A D | perf_event.c | 129 pr_info("CPU[%i] CPUM_SF: Basic-sampling: a=%i e=%i c=%i" in print_debug_sf() 133 pr_info("CPU[%i] CPUM_SF: Diagnostic-sampling: a=%i e=%i c=%i" in print_debug_sf() 174 seq_printf(m, "CPU-MF: Sampling facility: min_rate=%lu max_rate=%lu" in sl_print_sampling() 178 seq_printf(m, "CPU-MF: Sampling facility: mode=basic" in sl_print_sampling() 181 seq_printf(m, "CPU-MF: Sampling facility: mode=diagnostic" in sl_print_sampling()
|
/linux/drivers/iio/pressure/ |
H A D | zpa2326.c | 18 * 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/tools/perf/tests/shell/ |
H A D | record.sh | 215 echo "Cgroup sampling test" 218 echo "Cgroup sampling [Skipped not supported]" 223 echo "Cgroup sampling [Failed missing output]" 229 echo "Cgroup sampling [Failed cannot resolve cgroup names]" 233 echo "Cgroup sampling test [Success]" 237 echo "Uid sampling test" 243 echo "Uid sampling [Skipped permissions]" 246 echo "Uid sampling [Failed to record]" 254 echo "Uid sampling [Failed missing output]" 258 echo "Uid sampling test [Success]" [all …]
|
/linux/tools/lib/perf/Documentation/ |
H A D | libperf-sampling.txt | 1 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/tools/perf/Documentation/ |
H A D | perf-amd-ibs.txt | 6 perf-amd-ibs - Support for AMD Instruction-Based Sampling (IBS) with perf tool 17 Instruction-Based Sampling (IBS) provides precise Instruction Pointer (IP) 19 Op and IBS Fetch. IBS Op sampling provides information about instruction 22 behavior etc. IBS Fetch sampling provides information about instruction fetch 64 System-wide profile, cycles event, sampling period: 100000 68 Per-cpu profile (cpu10), cycles event, sampling period: 100000 72 Per-cpu profile (cpu10), cycles event, sampling freq: 1000 76 System-wide profile, uOps event, sampling period: 100000 84 System-wide profile, uOps event, sampling period: 100000, L3MissOnly (Zen4 onward) 88 System-wide profile, cycles event, sampling period: 100000, LdLat filtering (Zen5 [all …]
|
/linux/drivers/tty/serial/ |
H A D | sh-sci.h | 27 HSSRR, /* Sampling Rate Register */ 50 #define SCSMR_SRC_MASK 0x0700 /* Sampling Control */ 51 #define SCSMR_SRC_16 0x0000 /* Sampling rate 1/16 */ 52 #define SCSMR_SRC_5 0x0100 /* Sampling rate 1/5 */ 53 #define SCSMR_SRC_7 0x0200 /* Sampling rate 1/7 */ 54 #define SCSMR_SRC_11 0x0300 /* Sampling rate 1/11 */ 55 #define SCSMR_SRC_13 0x0400 /* Sampling rate 1/13 */ 56 #define SCSMR_SRC_17 0x0500 /* Sampling rate 1/17 */ 57 #define SCSMR_SRC_19 0x0600 /* Sampling rate 1/19 */ 58 #define SCSMR_SRC_27 0x0700 /* Sampling rate 1/27 */ [all …]
|
/linux/Documentation/sound/cards/ |
H A D | maya44.rst | 29 - 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/Documentation/ABI/testing/ |
H A D | debugfs-intel-iommu | 162 to enable sampling. 166 * 0 - disable sampling all latency data 168 * 1 - enable sampling IOTLB invalidation latency data 170 * 2 - enable sampling devTLB invalidation latency data 172 * 3 - enable sampling intr entry cache invalidation latency data 175 a snapshot of sampling result of all enabled monitors. 181 1) Disable sampling all latency data: 185 2) Enable sampling IOTLB invalidation latency data 207 3) Enable sampling devTLB invalidation latency data
|
/linux/include/drm/ |
H A D | drm_fourcc.h | 190 * 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.
|
/linux/tools/thermal/thermometer/ |
H A D | thermometer.8 | 14 specified sampling period. It is optimized to reduce as much as 18 This low overhead also allows a high rate sampling for the temperature 23 the thermal zone names and the desired sampling period. A thermal zone 26 The sampling of the different thermal zones will be written into 47 sampling files
|
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | reserved_bits_mmcra_sample_elig_mode_test.c | 12 * Register A (MMCRA) Random Sampling Mode (SM) value. 15 * for sampling mode field. Test that having these reserved 17 * Input event code uses these sampling bits along with 33 * MMCRA Random Sampling Mode (SM) values: 0x5 in reserved_bits_mmcra_sample_elig_mode() 59 * MMCRA Random Sampling Mode (SM) value 0x10 in reserved_bits_mmcra_sample_elig_mode()
|
H A D | group_constraint_mmcra_sample_test.c | 28 * Use event with load only sampling mode as in group_constraint_mmcra_sample() 29 * group leader. Use event with store only sampling in group_constraint_mmcra_sample() 37 /* Expected to fail as sibling event doesn't use same sampling bits as leader */ in group_constraint_mmcra_sample() 42 /* Expected to pass as sibling event use same sampling bits as leader */ in group_constraint_mmcra_sample()
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | psample.sh | 42 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/Documentation/devicetree/bindings/spi/ |
H A D | samsung,spi-peripheral-props.yaml | 23 The sampling phase shift to be applied on the miso line (to account 26 - 1: 90 degree phase shift sampling. 27 - 2: 180 degree phase shift sampling. 28 - 3: 270 degree phase shift sampling.
|
/linux/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 14 #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() 109 /* sampling in diagnose mode. alloc aux buffer */ in auxtrace_record__init()
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | st,spear600-adc.yaml | 28 sampling-frequency: 33 Default sampling frequency of the ADC in Hz. 56 - sampling-frequency 67 sampling-frequency = <5000000>;
|
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | mmcra_thresh_cmp_test.c | 16 * Sampling criteria is Load only sampling 23 /* A perf sampling test to test mmcra fields */ 36 /* Init the event for the sampling test */ in mmcra_thresh_cmp()
|
H A D | mmcra_thresh_marked_sample_test.c | 16 * Sampling criteria is Load only sampling 22 /* A perf sampling test to test mmcra fields */ 32 /* Init the event for the sampling test */ in mmcra_thresh_marked_sample()
|
H A D | intr_regs_no_crash_wo_pmu_test.c | 14 * A perf sampling test for making sure 15 * sampling with -intr-regs doesn't crash 33 * Init the event for the sampling test. in intr_regs_no_crash_wo_pmu_test()
|
H A D | bhrb_no_crash_wo_pmu_test.c | 14 * A perf sampling test for making sure 20 * A fix for bhrb sampling crash was added in kernel 34 * Init the event for the sampling test. in bhrb_no_crash_wo_pmu_test()
|
/linux/net/psample/ |
H A D | Kconfig | 3 # psample packet sampling configuration 7 tristate "Packet-sampling netlink channel" 10 Say Y here to add support for packet-sampling netlink channel
|
/linux/kernel/trace/ |
H A D | trace_hwlat.c | 27 * 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 */ 346 * kthread_fn - The CPU time sampling/hardware latency detection kernel thread 386 * stop_stop_kthread - Inform the hardware latency sampling/detector kthread to stop 388 * This kicks the running hardware latency sampling/detector kernel thread and 389 * tells it to stop sampling now. Use this on unload and at system shutdown. 411 * start_single_kthread - Kick off the hardware latency sampling/detector kthread 429 pr_err(BANNER "could not start sampling thread\n"); in start_single_kthread() 468 * stop_per_cpu_kthreads - Inform the hardware latency sampling/detector kthread to stop [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra210-sfc.yaml | 10 The Sampling Frequency Converter (SFC) converts the sampling frequency 11 of the input signal from one frequency to another. It supports sampling
|