/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | keep-tracking.c | 6 #include <perf/cpumap.h> 7 #include <perf/evlist.h> 8 #include <perf/mmap.h>
|
H A D | perf-time-to-tsc.c | 10 #include <perf/cpumap.h> 11 #include <perf/evlist.h> 12 #include <perf/mmap.h> 26 * Except x86_64/i386 and Arm64, other archs don't support TSC in perf. Just 61 * test__perf_time_to_tsc - test converting perf time to TSC. 63 * This function implements a test that checks that the conversion of perf time 184 pr_debug("1st event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc() 188 pr_debug("2nd event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc() 217 .desc = "Convert perf time to TSC",
|
H A D | sw-clock.c | 18 #include <perf/evlist.h> 19 #include <perf/mmap.h>
|
/kernel/linux/linux-5.10/tools/perf/arch/s390/ |
H A D | Makefile | 10 # Syscall table generation for perf 16 sysprf := $(srctree)/tools/perf/arch/s390/entry/syscalls 24 @(test -d ../../kernel -a -d ../../tools -a -d ../perf && ( \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_core_perf.h | 96 * @perf: Pointer to core performance context 98 void dpu_core_perf_destroy(struct dpu_core_perf *perf); 102 * @perf: Pointer to core performance context 107 int dpu_core_perf_init(struct dpu_core_perf *perf,
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | record+zstd_comp_decomp.sh | 2 # Zstd perf.data compression/decompression 6 trace_file=$(mktemp /tmp/perf.data.XXX) 7 perf_tool=perf
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | perf-completion.sh | 0 # perf bash and zsh completion 152 # Skip options backward and find the last perf command 154 # List perf subcommands or long options 202 # List subcommands for perf commands 276 compdef _perf perf 280 type perf &>/dev/null && 302 complete -o bashdefault -o default -o nospace -F _perf perf 2>/dev/null \ 303 || complete -o default -o nospace -F _perf perf
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | perf-completion.sh | 0 # perf bash and zsh completion 152 # Skip options backward and find the last perf command 154 # List perf subcommands or long options 202 # List subcommands for perf commands 276 compdef _perf perf 280 type perf &>/dev/null && 302 complete -o bashdefault -o default -o nospace -F _perf perf 2>/dev/null \ 303 || complete -o default -o nospace -F _perf perf
|
/kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/ |
H A D | gitsource.sh | 10 # 4) Get desire performance, frequency, load by perf. 28 # $1: governor, $2: round, $3: des-perf, $4: freq, $5: load, $6: time $7: energy, $8: PPW 86 perf stat -a --per-socket -I 1000 -e power/energy-pkg/ /usr/bin/time -o ../$OUTFILE_GIT.time-gitsource-$1-$2.log make test -j$MAKE_CPUS > ../$OUTFILE_GIT-perf-$1-$2.log 2>&1 99 awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log 100 avg_des_perf=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-des-perf-$1-$2.log) 101 printf "Gitsource-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result 115 grep Joules $OUTFILE_GIT-perf-$1-$2.log | awk '{print $4}' > $OUTFILE_GIT-energy-$1-$2.log 151 grep "Gitsource-$1-#" $OUTFILE_GIT.result | grep "avg des perf:" | awk '{print $NF}' > $OUTFILE_GIT-des-perf [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/shell/ |
H A D | record+zstd_comp_decomp.sh | 2 # Zstd perf.data compression/decompression 6 trace_file=$(mktemp /tmp/perf.data.XXX) 7 perf_tool=perf
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
H A D | perf-time-to-tsc.c | 10 #include <perf/cpumap.h> 11 #include <perf/evlist.h> 12 #include <perf/mmap.h> 41 * test__perf_time_to_tsc - test converting perf time to TSC. 43 * This function implements a test that checks that the conversion of perf time 153 pr_debug("1st event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc() 157 pr_debug("2nd event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | mmap-basic.c | 7 #include <perf/cpumap.h> 18 #include <perf/evlist.h> 19 #include <perf/mmap.h> 29 * Then it checks if the number of syscalls reported as perf events by
|
H A D | sw-clock.c | 17 #include <perf/evlist.h> 18 #include <perf/mmap.h>
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | nft_concat_range.sh | 377 table netdev perf { 1062 # Format and output entries for sets in 'netdev perf' table 1065 echo "add element netdev perf test $(format)" 1067 echo "add element netdev perf norange $(format_norange)" 1069 echo "add element netdev perf noconcat $(format_noconcat)" 1073 # Add single entry to 'norange' set in 'netdev perf' table 1075 if ! nft add element netdev perf norange "${1}"; then 1082 # Add single entry to 'noconcat' set in 'netdev perf' table 1084 if ! nft add element netdev perf noconcat "${1}"; then 1109 # Return packet count from 'test' counter in 'netdev perf' tabl 1133 perf() { global() function [all...] |
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/ |
H A D | perf.c | 49 u32 perf; member 308 return t1->perf - t2->perf; in opp_cmp_func() 343 opp->perf = le32_to_cpu(r->opp[loop_idx].perf_val); in process_response_opp() 354 opp->perf = le32_to_cpu(r->opp[loop_idx].perf_val); in process_response_opp_v4() 373 ret = xa_insert(&dom->opps_by_lvl, opp->perf, opp, GFP_KERNEL); in process_response_opp_v4() 377 opp->perf, ret); in process_response_opp_v4() 400 opp->perf, opp->power, opp->trans_latency_us, in iter_perf_levels_process_response() 611 *min_perf = opp->perf; in scmi_perf_limits_get() 617 *max_perf = opp->perf; in scmi_perf_limits_get() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | nft_concat_range.sh | 394 table netdev perf { 1121 # Format and output entries for sets in 'netdev perf' table 1124 echo "add element netdev perf test $(format)" 1126 echo "add element netdev perf norange $(format_norange)" 1128 echo "add element netdev perf noconcat $(format_noconcat)" 1132 # Add single entry to 'norange' set in 'netdev perf' table 1134 if ! nft add element netdev perf norange "${1}"; then 1141 # Add single entry to 'noconcat' set in 'netdev perf' table 1143 if ! nft add element netdev perf noconcat "${1}"; then 1168 # Return packet count from 'test' counter in 'netdev perf' tabl 1192 perf() { global() function [all...] |
/kernel/linux/linux-6.6/tools/lib/perf/tests/ |
H A D | test-evlist.c | 14 #include <perf/cpumap.h> 15 #include <perf/threadmap.h> 16 #include <perf/evlist.h> 17 #include <perf/evsel.h> 18 #include <perf/mmap.h> 19 #include <perf/event.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 135 struct kfd_perf_properties *perf; in kfd_release_topology_device() local 168 perf = container_of(dev->perf_props.next, in kfd_release_topology_device() 170 list_del(&perf->list); in kfd_release_topology_device() 171 kfree(perf); in kfd_release_topology_device() 573 struct kfd_perf_properties *perf; in kfd_remove_sysfs_node_entry() local 623 list_for_each_entry(perf, &dev->perf_props, list) { in kfd_remove_sysfs_node_entry() 624 kfree(perf->attr_group); in kfd_remove_sysfs_node_entry() 625 perf->attr_group = NULL; in kfd_remove_sysfs_node_entry() 649 struct kfd_perf_properties *perf; in kfd_build_sysfs_node_entry() local 687 dev->kobj_perf = kobject_create_and_add("perf", de in kfd_build_sysfs_node_entry() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
H A D | perf.c | 35 u32 perf; member 256 return t1->perf - t2->perf; in opp_cmp_func() 297 opp->perf = le32_to_cpu(level_info->opp[cnt].perf_val); in scmi_perf_describe_levels_get() 303 opp->perf, opp->power, opp->trans_latency_us); in scmi_perf_describe_levels_get() 659 freq = opp->perf * dom->mult_factor; in scmi_dvfs_device_opps_add() 666 freq = (--opp)->perf * dom->mult_factor; in scmi_dvfs_device_opps_add() 729 opp_freq = opp->perf * dom->mult_factor; in scmi_dvfs_est_power_get() 895 DEFINE_SCMI_PROTOCOL_REGISTER_UNREGISTER(SCMI_PROTOCOL_PERF, perf)
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/openvswitch/ |
H A D | openvswitch.sh | 157 perf record -a -q -e skb:kfree_skb -o ${ovs_dir}/perf.data $* \ 166 local perf_output=`perf script -i ${ovs_dir}/perf.data -F trace:event,trace` 189 which perf >/dev/null 2>&1 || return $ksft_skip
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | priv.h | 31 #include <subdev/bios/perf.h> 43 struct nvbios_perf_fan perf; member
|
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | res_sample.c | 2 /* Display a menu with individual samples to browse with perf script */ 11 #include "../../perf.h" 39 const char *perf = perf_exe(pbuf, sizeof pbuf); in res_sample_browse() local 77 perf, in res_sample_browse()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | setup.py | 54 src_perf = getenv('srctree') + '/tools/perf' 73 perf = Extension('perf', variable 81 setup(name='perf', 87 url='http://perf.wiki.kernel.org', 88 ext_modules=[perf],
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | priv.h | 31 #include <subdev/bios/perf.h> 43 struct nvbios_perf_fan perf; member
|
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | res_sample.c | 2 /* Display a menu with individual samples to browse with perf script */ 11 #include "../../perf.h" 39 const char *perf = perf_exe(pbuf, sizeof pbuf); in res_sample_browse() local 77 perf, in res_sample_browse()
|