Home
last modified time | relevance | path

Searched refs:perf (Results 76 - 100 of 523) sorted by relevance

12345678910>>...21

/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dstat+shadow_stat.sh2 # perf stat metrics (shadow stat) test
8 perf stat -a true > /dev/null 2>&1 || exit 2
11 perf stat -a -e cycles sleep 1 2>&1 | grep -e cpu_core && exit 2
15 perf stat -a --no-big-num -e cycles,instructions sleep 1 2>&1 | \
46 perf stat -a -A --no-big-num -e cycles,instructions sleep 1 2>&1 | \
H A Dtest_perf_data_converter_json.sh2 # 'perf data convert --to-json' command test
20 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
40 perf record -o "$perfdata" -F 99 -g -- perf test -w noploop > /dev/null 2>&1
41 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1
H A Dstat_bpf_counters_cgrp.sh2 # perf stat --bpf-counters --for-each-cgroup test
15 if ! perf stat -a --bpf-counters --for-each-cgroup / true > /dev/null 2>&1; then
18 perf --no-pager stat -a --bpf-counters --for-each-cgroup / true || true
51 check_system_wide_counted_output=$(perf stat -a --bpf-counters --for-each-cgroup ${test_cgroups} -e cpu-clock -x, sleep 1 2>&1)
63 check_cpu_list_counted_output=$(perf stat -C 0,1 --bpf-counters --for-each-cgroup ${test_cgroups} -e cpu-clock -x, taskset -c 1 sleep 1 2>&1)
H A Dtest_uprobe_from_different_cu.sh2 # test perf probe of function from different CU
13 temp_dir=$(mktemp -d /tmp/perf-uprobe-different-cu-sh.XXXXXXXXXX)
18 if [[ "${temp_dir}" =~ ^/tmp/perf-uprobe-different-cu-sh.*$ ]]; then
20 perf probe -x ${temp_dir}/testfile -d foo || true
80 perf probe -x ${temp_dir}/testfile --funcs foo
81 perf probe -x ${temp_dir}/testfile foo
H A Drecord+script_probe_vfs_getname.sh4 # Uses the 'perf test shell' library to add probe:vfs_getname to the system
5 # then use it with 'perf record' using 'touch' to write to a temp file, then
7 # perf.data file, with the temp file name as the pathname argument.
20 # Check presence of libtraceevent support to run perf record
23 perf record -o ${perfdata} -e probe:vfs_getname\* touch $file
27 echo "Looking at perf.data file for vfs_getname records for the file we touched:"
28 perf script -i ${perfdata} | \
38 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
H A Dtest_arm_spe_fork.sh8 perf list | grep -E -q 'arm_spe_[0-9]+//' && return 0
14 TEST_PROGRAM="perf test -w sqrtloop 10"
15 PERF_DATA=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
28 perf record -o ${PERF_DATA} -e arm_spe/period=65536/ -vvv -- $TEST_PROGRAM > ${PERF_RECORD_LOG} 2>&1 &
31 # Check if perf hangs by checking the perf-record logs.
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
H A Dscripts.c3 #include "../../perf.h"
20 * /home/username/libexec/perf-core/scripts/python/xxx.py
21 * /home/username/libexec/perf-core/scripts/perl/xxx.pl
30 const char *perf; member
55 c->perf, opt, symbol_conf.inline_name ? " --inline" : "", in add_script_option()
93 const char *perf = perf_exe(pbuf, sizeof pbuf); in list_scripts() local
97 .perf = perf in list_scripts()
116 add_script_option("Show samples with custom perf script arguments", "", &scriptc); in list_scripts()
136 int key = ui_browser__input_window("perf scrip in list_scripts()
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/browsers/
H A Dscripts.c3 #include "../../perf.h"
20 * /home/username/libexec/perf-core/scripts/python/xxx.py
21 * /home/username/libexec/perf-core/scripts/perl/xxx.pl
30 const char *perf; member
55 c->perf, opt, symbol_conf.inline_name ? " --inline" : "", in add_script_option()
93 const char *perf = perf_exe(pbuf, sizeof pbuf); in list_scripts() local
97 .perf = perf in list_scripts()
116 add_script_option("Show samples with custom perf script arguments", "", &scriptc); in list_scripts()
136 int key = ui_browser__input_window("perf scrip in list_scripts()
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dandroid.py43 from devil.android.perf import cache_control # pylint: disable=import-error
44 from devil.android.perf import perf_control # pylint: disable=import-error
184 perf = perf_control.PerfControl(self.device)
185 perf.SetHighPerfMode()
189 perf = perf_control.PerfControl(self.device)
190 perf.SetDefaultPerfMode()
/third_party/littlefs/
H A DMakefile19 PERF ?= perf
41 TEST_PERF := $(TEST_RUNNER:%=%.perf)
58 BENCH_PERF := $(BENCH_RUNNER:%=%.perf)
108 ifneq ($(PERF),perf)
109 PERFFLAGS += --perf-path="$(PERF)"
151 ifneq ($(PERF),perf)
152 TESTFLAGS += --perf-path="$(PERF)"
153 BENCHFLAGS += --perf-path="$(PERF)"
291 ## Find the perf results after bench run with YES_PERF
292 .PHONY: perf
[all...]
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dsys_riscv.c171 u64 perf = -1ULL; in hwprobe_misaligned() local
176 if (perf == -1ULL) in hwprobe_misaligned()
177 perf = this_perf; in hwprobe_misaligned()
179 if (perf != this_perf) { in hwprobe_misaligned()
180 perf = RISCV_HWPROBE_MISALIGNED_UNKNOWN; in hwprobe_misaligned()
185 if (perf == -1ULL) in hwprobe_misaligned()
188 return perf; in hwprobe_misaligned()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_perf_types.h43 struct i915_perf *perf; member
106 * Copy as many buffered i915 perf samples and records for this stream
134 * @perf: i915_perf backpointer
136 struct i915_perf *perf; member
324 bool (*is_valid_b_counter_reg)(struct i915_perf *perf, u32 addr);
330 bool (*is_valid_mux_reg)(struct i915_perf *perf, u32 addr);
336 bool (*is_valid_flex_reg)(struct i915_perf *perf, u32 addr);
389 * in perf->metrics_idr.
395 * need to hold perf->metrics_lock to access it.
413 * @sseu: sseu configuration selected to run while perf i
[all...]
H A Di915_query.c199 struct i915_perf *perf = &i915->perf; in query_perf_config_data() local
206 if (!perf->i915) in query_perf_config_data()
241 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in query_perf_config_data()
252 oa_config = i915_perf_get_oa_config(perf, config_id); in query_perf_config_data()
320 static size_t sizeof_perf_metrics(struct i915_perf *perf) in sizeof_perf_metrics() argument
328 idr_for_each_entry(&perf->metrics_idr, tmp, id) in sizeof_perf_metrics()
340 struct i915_perf *perf = &i915->perf; in query_perf_config_list() local
346 if (!perf in query_perf_config_list()
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/shell/
H A Dtest_uprobe_from_different_cu.sh2 # test perf probe of function from different CU
13 temp_dir=$(mktemp -d /tmp/perf-uprobe-different-cu-sh.XXXXXXXXXX)
18 if [[ "${temp_dir}" =~ ^/tmp/perf-uprobe-different-cu-sh.*$ ]]; then
20 perf probe -x ${temp_dir}/testfile -d foo || true
80 perf probe -x ${temp_dir}/testfile --funcs foo
81 perf probe -x ${temp_dir}/testfile foo
H A Drecord+script_probe_vfs_getname.sh4 # Uses the 'perf test shell' library to add probe:vfs_getname to the system
5 # then use it with 'perf record' using 'touch' to write to a temp file, then
7 # perf.data file, with the temp file name as the pathname argument.
18 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
23 perf record -o ${perfdata} -e probe:vfs_getname\* touch $file
27 echo "Looking at perf.data file for vfs_getname records for the file we touched:"
28 perf script -i ${perfdata} | \
/kernel/linux/linux-5.10/tools/perf/Documentation/
H A DMakefile7 $(wildcard perf-*.txt)) \
8 perf.txt
43 htmldir?=$(prefix)/share/doc/perf-doc
44 pdfdir?=$(prefix)/share/doc/perf-doc
64 ASCIIDOC_EXTRA += -a mansource="perf" -a manmanual="perf Manual"
120 ASCIIDOC_EXTRA += -a perf-asciidoc-no-roff
126 ASCIIDOC_EXTRA += -a perf-asciidoc-no-roff
143 # http://marc.theaimsgroup.com/?l=perf&m=111558757202243&w=2
187 info: $(OUTPUT)perf
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_query.c235 struct i915_perf *perf = &i915->perf; in query_perf_config_data() local
242 if (!perf->i915) in query_perf_config_data()
278 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in query_perf_config_data()
289 oa_config = i915_perf_get_oa_config(perf, config_id); in query_perf_config_data()
357 static size_t sizeof_perf_metrics(struct i915_perf *perf) in sizeof_perf_metrics() argument
365 idr_for_each_entry(&perf->metrics_idr, tmp, id) in sizeof_perf_metrics()
377 struct i915_perf *perf = &i915->perf; in query_perf_config_list() local
383 if (!perf in query_perf_config_list()
[all...]
H A Di915_perf_types.h78 struct i915_perf *perf; member
141 * Copy as many buffered i915 perf samples and records for this stream
169 * @perf: i915_perf backpointer
171 struct i915_perf *perf; member
343 * @override_gucrc: GuC RC has been overridden for the perf stream,
357 bool (*is_valid_b_counter_reg)(struct i915_perf *perf, u32 addr);
363 bool (*is_valid_mux_reg)(struct i915_perf *perf, u32 addr);
369 bool (*is_valid_flex_reg)(struct i915_perf *perf, u32 addr);
446 * @sseu: sseu configuration selected to run while perf is active,
452 * @num_perf_groups: number of perf group
[all...]
/third_party/mesa3d/src/intel/perf/
H A Dintel_perf_mdapi.c232 intel_perf_register_mdapi_oa_query(struct intel_perf_config *perf, in intel_perf_register_mdapi_oa_query() argument
245 query = intel_perf_append_query_info(perf, 1 + 45 + 16 + 7); in intel_perf_register_mdapi_oa_query()
253 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
257 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
270 query = intel_perf_append_query_info(perf, 2 + 36 + 16 + 16); in intel_perf_register_mdapi_oa_query()
279 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
283 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
307 query = intel_perf_append_query_info(perf, 2 + 36 + 16 + 16 + 16 + 2); in intel_perf_register_mdapi_oa_query()
316 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
320 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf in intel_perf_register_mdapi_oa_query()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
H A DMakefile13 TESTS_64 += perf-hwbreak
15 TESTS_64 += ptrace-perf-hwbreak
39 $(OUTPUT)/ptrace-perf-hwbreak: ptrace-perf-asm.S
/kernel/linux/linux-5.10/drivers/xen/
H A Dxen-acpi-processor.c215 dst_perf = &op.u.set_pminfo.perf; in push_pxx_to_hypervisor()
243 struct acpi_processor_performance *perf; in push_pxx_to_hypervisor() local
246 perf = _pr->performance; in push_pxx_to_hypervisor()
248 for (i = 0; i < perf->state_count; i++) { in push_pxx_to_hypervisor()
250 (i == perf->state ? '*' : ' '), i, in push_pxx_to_hypervisor()
251 (u32) perf->states[i].core_frequency, in push_pxx_to_hypervisor()
252 (u32) perf->states[i].power, in push_pxx_to_hypervisor()
253 (u32) perf->states[i].transition_latency); in push_pxx_to_hypervisor()
551 struct acpi_processor_performance *perf; in xen_acpi_processor_init() local
554 perf in xen_acpi_processor_init()
[all...]
/kernel/linux/linux-6.6/drivers/xen/
H A Dxen-acpi-processor.c216 dst_perf = &op.u.set_pminfo.perf; in push_pxx_to_hypervisor()
244 struct acpi_processor_performance *perf; in push_pxx_to_hypervisor() local
247 perf = _pr->performance; in push_pxx_to_hypervisor()
249 for (i = 0; i < perf->state_count; i++) { in push_pxx_to_hypervisor()
251 (i == perf->state ? '*' : ' '), i, in push_pxx_to_hypervisor()
252 (u32) perf->states[i].core_frequency, in push_pxx_to_hypervisor()
253 (u32) perf->states[i].power, in push_pxx_to_hypervisor()
254 (u32) perf->states[i].transition_latency); in push_pxx_to_hypervisor()
549 struct acpi_processor_performance *perf; in xen_acpi_processor_init() local
552 perf in xen_acpi_processor_init()
[all...]
/third_party/node/deps/v8/tools/
H A Drun-perf.sh24 Executes <benchmark_command> under observation by Linux perf.
54 perf record -R \
58 -i "$COMMAND" --perf-basic-prof "$@"
/kernel/linux/linux-5.10/tools/perf/
H A Dperf-with-kcore.sh3 # perf-with-kcore: use perf with a copy of kcore
11 echo "Usage: perf-with-kcore <perf sub-command> <perf.data directory> [<sub-command options> [ -- <workload>]]" >&2
12 echo " <perf sub-command> can be record, script, report or inject" >&2
13 echo " or: perf-with-kcore fix_buildid_cache_permissions" >&2
22 PERF=`which perf || true`
24 echo "Failed to find perf" >&2
28 echo "Failed to find perf" >
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/
H A DMakefile11 # Syscall table generation for perf
18 sysprf := $(srctree)/tools/perf/arch/powerpc/entry/syscalls
26 @(test -d ../../kernel -a -d ../../tools -a -d ../perf && ( \
32 @(test -d ../../kernel -a -d ../../tools -a -d ../perf && ( \

Completed in 14 milliseconds

12345678910>>...21