/third_party/skia/infra/wasm-common/ |
H A D | Makefile | 9 docker build -t perf-karma-chrome-tests -f ./docker/perf-karma-chrome-tests/Dockerfile . 15 CGO_ENABLED=0 GOOS=linux go build -o ./tmp/perf-aggregator -a ./perf/ 26 docker tag perf-karma-chrome-tests gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION} 27 docker push gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION}
|
/third_party/mesa3d/src/intel/perf/ |
H A D | intel_perf.h | 182 typedef uint64_t (*intel_counter_read_uint64_t)(struct intel_perf_config *perf, 186 typedef float (*intel_counter_read_float_t)(struct intel_perf_config *perf, 230 struct intel_perf_config *perf; member 326 /* Version of the i915-perf subsystem, refer to i915_drm.h. */ 383 * this means we will not be able to use i915-perf because of it is in 493 /** Accumulate the delta between 2 snapshots of OA perf registers (layout 531 struct intel_perf_config *perf = rzalloc(ctx, struct intel_perf_config); in intel_perf_new() local 532 return perf; in intel_perf_new() 540 intel_perf_has_hold_preemption(const struct intel_perf_config *perf) in intel_perf_has_hold_preemption() argument 542 return perf in intel_perf_has_hold_preemption() 550 intel_perf_has_global_sseu(const struct intel_perf_config *perf) intel_perf_has_global_sseu() argument [all...] |
H A D | intel_perf_query.c | 32 #include "perf/intel_perf.h" 33 #include "perf/intel_perf_mdapi.h" 34 #include "perf/intel_perf_private.h" 35 #include "perf/intel_perf_query.h" 36 #include "perf/intel_perf_regs.h" 56 * i915 perf kernel interface and appended to the 122 * (for reference, i915 perf reads() are only done when queries finish) 242 struct intel_perf_config *perf; member 252 /* The i915 perf stream we open to setup + enable the OA counters */ 255 /* An i915 perf strea 426 get_metric_id(struct intel_perf_config *perf, const struct intel_perf_query_info *query) get_metric_id() argument 709 struct intel_perf_config *perf = ctx->perf; snapshot_statistics_registers() local [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | test_intel_pt.sh | 8 perf list | grep -q 'intel_pt//' || exit 2 17 temp_dir=$(mktemp -d /tmp/perf-test-intel-pt-sh.XXXXXXXXXX) 19 tmpfile="${temp_dir}/tmp-perf.data" 20 perfdatafile="${temp_dir}/test-perf.data" 32 if [ "${sane}" = "/tmp/perf-test-intel-pt-sh" ] ; then 47 # perf record for testing without decoding 52 perf record -B -N --no-bpf-event "$@" 55 # perf record for testing should not need BPF events 59 perf record --no-bpf-event "$@" 116 mmap_cnt=$(perf scrip [all...] |
H A D | test_data_symbol.sh | 8 perf mem record -e list 2>&1 | grep -E -q 'available' && return 0 14 TEST_PROGRAM="perf test -w datasym" 15 PERF_DATA=$(mktemp /tmp/__perf_test.perf.data.XXXXX) 20 result=$(perf mem report -i ${PERF_DATA} -s symbol_daddr -q 2>&1 | 48 # perf mem/c2c internally uses IBS PMU on AMD CPU which doesn't support 53 perf mem record -o ${PERF_DATA} -C 0 -- taskset -c 0 $TEST_PROGRAM & 55 perf mem record --all-user -o ${PERF_DATA} -- $TEST_PROGRAM &
|
H A D | record+probe_libc_inet_pton.sh | 5 # then use 'perf trace' on a ping to localhost asking for just one packet 23 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \ 56 perf_data=`mktemp -u /tmp/perf.data.XXX` 57 perf_script=`mktemp -u /tmp/perf.script.XXX` 59 # Check presence of libtraceevent support to run perf record 63 perf record -e $event_name/$eventattr/ -o $perf_data ping -6 -c 1 ::1 > /dev/null 2>&1 64 # check if perf data file got created in above step. 66 printf "FAIL: perf record failed to create \"%s\" \n" "$perf_data" 69 perf script -i $perf_data | tac | grep -m1 ^ping -B9 | tac > $perf_script 86 # even if the perf scrip [all...] |
H A D | test_java_symbol.sh | 13 PERF_DATA=$(mktemp /tmp/__perf_test.perf.data.XXXXX) 14 PERF_INJ_DATA=$(mktemp /tmp/__perf_test.perf.data.inj.XXXXX) 25 if [ -e "$PWD/tools/perf/libperf-jvmti.so" ]; then 26 LIBJVMTI=$PWD/tools/perf/libperf-jvmti.so 41 cat <<EOF | perf record -k 1 -o $PERF_DATA jshell -s -J-agentpath:$LIBJVMTI 59 if ! DEBUGINFOD_URLS='' perf inject -i $PERF_DATA -o $PERF_INJ_DATA -j; then 67 perf report --stdio -i ${PERF_INJ_DATA} 2>&1 | \
|
H A D | test_arm_callgraph_fp.sh | 7 PERF_DATA=$(mktemp /tmp/__perf_test.perf.data.XXXXX) 8 TEST_PROGRAM="perf test -w leafloop" 19 perf record -o "$PERF_DATA" --call-graph fp -e cycles//u -D 1000 --user-callchains -- $TEST_PROGRAM 2> /dev/null & 24 echo " + Stopping perf-record..." 29 # expected perf-script output: 37 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4 38 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4 | \
|
/kernel/linux/linux-5.10/tools/perf/tests/shell/lib/ |
H A D | probe_vfs_getname.sh | 3 perf probe -l 2>&1 | grep -q probe:vfs_getname 8 perf probe -q -d probe:vfs_getname* 15 line=$(perf probe -L getname_flags 2>&1 | egrep 'result.*=.*filename;' | sed -r 's/[[:space:]]+([[:digit:]]+)[[:space:]]+result->uptr.*/\1/') 16 perf probe -q "vfs_getname=getname_flags:${line} pathname=result->name:string" || \ 17 perf probe $verbose "vfs_getname=getname_flags:${line} pathname=filename:ustring"
|
/third_party/icu/icu4c/source/test/perf/dicttrieperf/ |
H A D | dicttrieperf.cpp | 20 * Usage from within <ICU build tree>/test/perf/dicttrieperf/ : 84 PackageLookup(const DictionaryTriePerfTest &perf) { in PackageLookup() argument 86 CharString filename(perf.getSourceDir(), errorCode); in PackageLookup() 140 BinarySearchPackageLookup(const DictionaryTriePerfTest &perf) in BinarySearchPackageLookup() argument 141 : PackageLookup(perf) { in BinarySearchPackageLookup() 249 PrefixBinarySearchPackageLookup(const DictionaryTriePerfTest &perf) in PrefixBinarySearchPackageLookup() argument 250 : BinarySearchPackageLookup(perf) {} in PrefixBinarySearchPackageLookup() 276 BytesTriePackageLookup(const DictionaryTriePerfTest &perf) in BytesTriePackageLookup() argument 277 : PackageLookup(perf) { in BytesTriePackageLookup() 332 DictLookup(const DictionaryTriePerfTest &perfTest) : perf(perfTes 339 const DictionaryTriePerfTest &perf; global() member in DictLookup [all...] |
/kernel/linux/linux-5.10/lib/raid6/ |
H A D | algos.c | 164 unsigned long perf, bestgenperf, bestxorperf, j0, j1; in raid6_choose_gen() local 179 perf = 0; in raid6_choose_gen() 188 perf++; in raid6_choose_gen() 192 if (perf > bestgenperf) { in raid6_choose_gen() 193 bestgenperf = perf; in raid6_choose_gen() 197 (perf * HZ * (disks-2)) >> in raid6_choose_gen() 203 perf = 0; in raid6_choose_gen() 213 perf++; in raid6_choose_gen() 218 bestxorperf = perf; in raid6_choose_gen() 221 (perf * H in raid6_choose_gen() [all...] |
/third_party/mesa3d/src/panfrost/perf/ |
H A D | pan_perf.h | 100 const struct panfrost_perf *perf); 103 panfrost_perf_init(struct panfrost_perf *perf, struct panfrost_device *dev); 106 panfrost_perf_enable(struct panfrost_perf *perf); 109 panfrost_perf_disable(struct panfrost_perf *perf); 112 panfrost_perf_dump(struct panfrost_perf *perf);
|
/kernel/linux/linux-5.10/tools/perf/tests/shell/ |
H A D | record+probe_libc_inet_pton.sh | 5 # then use 'perf trace' on a ping to localhost asking for just one packet 22 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \ 57 perf_data=`mktemp -u /tmp/perf.data.XXX` 58 perf_script=`mktemp -u /tmp/perf.script.XXX` 59 perf record -e $event_name/$eventattr/ -o $perf_data ping -6 -c 1 ::1 > /dev/null 2>&1 60 perf script -i $perf_data > $perf_script 77 # even if the perf script output does not match. 83 perf probe -q -d $event_name
|
/kernel/linux/linux-5.10/tools/lib/perf/Documentation/examples/ |
H A D | sampling.c | 2 #include <perf/evlist.h> 3 #include <perf/evsel.h> 4 #include <perf/cpumap.h> 5 #include <perf/threadmap.h> 6 #include <perf/mmap.h> 7 #include <perf/core.h> 8 #include <perf/event.h>
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | check-headers.sh | 93 # These copies are under tools/perf/trace/beauty/ as they are not used to in 94 # building object files only by scripts in tools/perf/trace/beauty/ to generate 135 check_2 "tools/perf/trace/beauty/$file" "$file" "$@" 138 # Check if we have the kernel headers (tools/perf/../../include), else 173 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl 174 check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl 175 check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl 176 check_2 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.tbl 184 check_2 tools/perf/util/hashmap.h tools/lib/bpf/hashmap.h 185 check_2 tools/perf/uti [all...] |
/kernel/linux/linux-6.6/tools/lib/perf/Documentation/examples/ |
H A D | sampling.c | 2 #include <perf/evlist.h> 3 #include <perf/evsel.h> 4 #include <perf/cpumap.h> 5 #include <perf/threadmap.h> 6 #include <perf/mmap.h> 7 #include <perf/core.h> 8 #include <perf/event.h>
|
/kernel/linux/linux-6.6/lib/raid6/ |
H A D | algos.c | 162 unsigned long perf, bestgenperf, j0, j1; in raid6_choose_gen() local 177 perf = 0; in raid6_choose_gen() 186 perf++; in raid6_choose_gen() 190 if (perf > bestgenperf) { in raid6_choose_gen() 191 bestgenperf = perf; in raid6_choose_gen() 195 (perf * HZ * (disks-2)) >> in raid6_choose_gen() 219 perf = 0; in raid6_choose_gen() 229 perf++; in raid6_choose_gen() 234 (perf * HZ * (disks - 2)) >> in raid6_choose_gen()
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_statistics.cpp | 185 perf_info perf = get_perf_info(program, instr); in use_resources() local 187 if (perf.rsrc0 != resource_count) { in use_resources() 188 res_available[(int)perf.rsrc0] = cur_cycle + perf.cost0; in use_resources() 189 res_usage[(int)perf.rsrc0] += perf.cost0; in use_resources() 192 if (perf.rsrc1 != resource_count) { in use_resources() 193 res_available[(int)perf.rsrc1] = cur_cycle + perf.cost1; in use_resources() 194 res_usage[(int)perf in use_resources() 201 perf_info perf = get_perf_info(program, instr); cycles_until_res_available() local 355 perf_info perf = get_perf_info(program, instr); add() local [all...] |
/kernel/linux/linux-6.6/tools/perf/Documentation/ |
H A D | Makefile | 11 $(wildcard perf-*.txt)) \ 12 perf.txt 40 htmldir?=$(prefix)/share/doc/perf-doc 41 pdfdir?=$(prefix)/share/doc/perf-doc 61 ASCIIDOC_EXTRA += -a mansource="perf" -a manmanual="perf Manual" 117 ASCIIDOC_EXTRA += -a perf-asciidoc-no-roff 123 ASCIIDOC_EXTRA += -a perf-asciidoc-no-roff 140 # http://marc.theaimsgroup.com/?l=perf&m=111558757202243&w=2 184 info: $(OUTPUT)perf [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | check-headers.sh | 86 # These copies are under tools/perf/trace/beauty/ as they are not used to in 87 # building object files only by scripts in tools/perf/trace/beauty/ to generate 125 check_2 tools/perf/trace/beauty/$file $file $* 128 # Check if we have the kernel headers (tools/perf/../../include), else 154 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl 161 check_2 tools/perf/util/hashmap.h tools/lib/bpf/hashmap.h 162 check_2 tools/perf/util/hashmap.c tools/lib/bpf/hashmap.c 164 cd tools/perf
|
/third_party/node/test/v8-updates/ |
H A D | test-linux-perf.js | 4 // Linux perf. The test runs a JavaScript script, sampling the execution with 5 // Linux perf. It then uses `perf script` to generate a human-readable output, 7 // `fixtures/linux-perf.js`. 10 // perf installed. It will skip if those criteria are not met. 23 common.skip("can't test Linux perf with shared libraries yet"); 43 '--perf-basic-prof', 54 fixtures.path('linux-perf.js'), 65 fixtures.path('linux-perf.js'), 86 const perf [all...] |
/third_party/skia/platform_tools/android/bin/ |
H A D | android_perf | 3 # android_perf: utility for running perf on an android device 6 # 1) perf record [gm/tests/bench] # runs profiler on specified app 7 # 2) perf report # prints profiler results 8 # 3) perf clean # cleans the temporary directory used to store results 15 # grab and remove the perf command from the input args 69 $ADB shell /data/local/tmp/simpleperf record -p ${APP_PID} -o /data/local/tmp/perf.data sleep 70 71 $ADB pull /data/local/tmp/perf.data $PERF_TMP_DIR/perf.data 77 adb_pull_if_needed /data/local/tmp/perf.data $PERF_TMP_DIR/perf [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_ir_performance.cpp | 1186 execute_instruction(state &st, const perf_desc &perf) in execute_instruction() argument 1191 st.unit_ready[EU_UNIT_FE] += perf.df; in execute_instruction() 1193 if (perf.u < EU_NUM_UNITS) { in execute_instruction() 1196 st.unit_ready[perf.u]); in execute_instruction() 1201 st.unit_ready[perf.u] = st.unit_ready[EU_UNIT_FE] + perf.db; in execute_instruction() 1202 st.unit_busy[perf.u] += perf.db * st.weight; in execute_instruction() 1211 mark_read_dependency(state &st, const perf_desc &perf, in mark_read_dependency() argument 1215 st.dep_ready[id] = st.unit_ready[EU_UNIT_FE] + perf in mark_read_dependency() 1223 mark_write_dependency(state &st, const perf_desc &perf, enum intel_eu_dependency_id id) mark_write_dependency() argument 1469 const perf_desc perf = instruction_desc(info); issue_vec4_instruction() local [all...] |
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
H A D | Makefile | 14 perf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o 15 perf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o 16 perf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o 37 obj-$(CONFIG_PERF_EVENTS) += $(perf-y)
|
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh4/ |
H A D | Makefile | 14 perf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o 15 perf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o 16 perf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o 37 obj-$(CONFIG_PERF_EVENTS) += $(perf-y)
|