| /linux-6.15/drivers/ntb/test/ |
| H A D | ntb_perf.c | 260 struct perf_ctx *perf = peer->perf; in perf_spad_cmd_send() local 351 struct perf_ctx *perf = peer->perf; in perf_msg_cmd_send() local 423 struct perf_ctx *perf = peer->perf; in perf_cmd_send() local 539 struct perf_ctx *perf = peer->perf; in perf_setup_outbuf() local 571 struct perf_ctx *perf = peer->perf; in perf_setup_inbuf() local 871 struct perf_ctx *perf = pthr->perf; in perf_init_test() local 923 struct perf_ctx *perf = pthr->perf; in perf_run_test() local 966 struct perf_ctx *perf = pthr->perf; in perf_sync_test() local 1156 perf->test_peer = &perf->peers[0]; in perf_init_threads() 1162 pthr->perf = perf; in perf_init_threads() [all …]
|
| /linux-6.15/tools/perf/tests/ |
| H A D | Build | 3 perf-test-y += builtin-test.o 6 perf-test-y += dso-data.o 12 perf-test-y += perf-record.o 16 perf-test-y += pmu.o 27 perf-test-y += wp.o 40 perf-test-y += mem.o 42 perf-test-y += stat.o 47 perf-test-y += sdt.o 50 perf-test-y += perf-hooks.o 59 perf-test-y += pfm.o [all …]
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | perf.c | 34 u32 perf = 0; in nvbios_perf_table() local 39 if (perf) { in nvbios_perf_table() 47 return perf; in nvbios_perf_table() 54 return perf; in nvbios_perf_table() 63 if (perf) { in nvbios_perf_table() 70 return perf; in nvbios_perf_table() 85 perf = perf + *hdr + (idx * (*len + (snr * ssz))); in nvbios_perf_entry() 89 return perf; in nvbios_perf_entry() 101 switch (!!perf * *ver) { in nvbios_perfEp() 169 return perf; in nvbios_perfEp() [all …]
|
| /linux-6.15/tools/perf/util/ |
| H A D | Build | 6 perf-util-y += annotate.o 11 perf-util-y += config.o 13 perf-util-y += ctype.o 17 perf-util-y += env.o 18 perf-util-y += event.o 21 perf-util-y += evsel.o 28 perf-util-y += mmap.o 34 perf-util-y += perf-regs-arch/ 44 perf-util-y += smt.o 49 perf-util-y += top.o [all …]
|
| /linux-6.15/drivers/gpu/drm/msm/ |
| H A D | msm_perf.c | 115 perf->buftot = ptr - perf->buf; in refill_buf() 128 if (perf->bufpos >= perf->buftot) { in perf_read() 134 n = min((int)sz, perf->buftot - perf->bufpos); in perf_read() 135 if (copy_to_user(buf, &perf->buf[perf->bufpos], n)) { in perf_read() 170 perf->cnt = 0; in perf_open() 207 perf = kzalloc(sizeof(*perf), GFP_KERNEL); in msm_perf_debugfs_init() 208 if (!perf) in msm_perf_debugfs_init() 214 priv->perf = perf; in msm_perf_debugfs_init() 223 struct msm_perf_state *perf = priv->perf; in msm_perf_debugfs_cleanup() local 225 if (!perf) in msm_perf_debugfs_cleanup() [all …]
|
| /linux-6.15/tools/perf/ |
| H A D | command-list.txt | 2 # List of known perf commands. 5 perf-annotate mainporcelain common 6 perf-archive mainporcelain common 7 perf-bench mainporcelain common 10 perf-data mainporcelain common 11 perf-diff mainporcelain common 12 perf-c2c mainporcelain common 20 perf-kvm mainporcelain common 22 perf-list mainporcelain common 24 perf-mem mainporcelain common [all …]
|
| H A D | Build | 1 perf-bench-y += builtin-bench.o 2 perf-y += builtin-annotate.o 3 perf-y += builtin-check.o 4 perf-y += builtin-config.o 5 perf-y += builtin-diff.o 6 perf-y += builtin-evlist.o 8 perf-y += builtin-help.o 16 perf-y += builtin-top.o 42 perf-y += perf.o 59 perf-y += arch/ [all …]
|
| H A D | .gitignore | 6 perf 10 perf-help 11 perf-record 12 perf-report 13 perf-stat 14 perf-top 15 perf*.1 16 perf*.xml 17 perf*.html 19 perf*.data [all …]
|
| /linux-6.15/tools/perf/Documentation/ |
| H A D | perf.txt | 1 perf(1) 81 linkperf:perf-stat[1], linkperf:perf-top[1], 82 linkperf:perf-record[1], linkperf:perf-report[1], 89 linkperf:perf-config[1], linkperf:perf-data[1], linkperf:perf-diff[1], 90 linkperf:perf-evlist[1], linkperf:perf-ftrace[1], 91 linkperf:perf-help[1], linkperf:perf-inject[1], 92 linkperf:perf-intel-pt[1], linkperf:perf-iostat[1], linkperf:perf-kallsyms[1], 93 linkperf:perf-kmem[1], linkperf:perf-kvm[1], linkperf:perf-lock[1], 94 linkperf:perf-mem[1], linkperf:perf-probe[1], linkperf:perf-sched[1], 95 linkperf:perf-script[1], linkperf:perf-test[1], [all …]
|
| H A D | tips.txt | 6 Customize output of perf script with: perf script -F event,ip,sym 8 Save output of perf stat using: perf stat record <target workload> 19 Profiling branch (mis)predictions with: perf record -b / perf report 22 Treat branches as callchains: perf record -b ... ; perf report --branch-history 23 Show estimate cycles per function and IPC in annotate use perf record -b ... ; perf report --total-… 27 For memory address profiling, try: perf mem record / perf mem report 33 To not record events from perf itself add --exclude-perf 40 To compute metrics for samples use perf record -e '{cycles,instructions}' ... ; perf script -F +met… 54 To analyze cache line scalability issues use perf c2c record ... ; perf c2c report 59 Add -I to perf record to sample register values, which will be visible in perf report sample contex… [all …]
|
| H A D | perf-daemon.txt | 1 perf-daemon(1) 13 'perf daemon' 14 'perf daemon' [<options>] 129 # perf daemon start 134 # perf daemon 144 # perf daemon -v 172 # perf daemon ping 184 [ perf record: Dump perf.data.2020123017013149 ] 195 [ perf record: Dump perf.data.2020123017024689 ] 198 [ perf record: Dump perf.data.2020123017024713 ] [all …]
|
| H A D | perf.data-directory-format.txt | 1 perf.data directory format 23 $ tree -ps perf.data 24 perf.data 34 $ sudo perf record --kcore uname 36 [ perf record: Woken up 1 times to write data ] 37 [ perf record: Captured and wrote 0.015 MB perf.data (9 samples) ] 38 $ sudo tree -ps perf.data 39 perf.data 47 $ sudo perf script -v 53 Using perf.data/kcore_dir/kcore for kernel data [all …]
|
| H A D | perf-kvm.txt | 1 perf-kvm(1) 6 perf-kvm - Tool to trace/measure kvm guest os 29 is input, the perf data file name is perf.data.guest. If --host is input, 30 the perf data file name is perf.data.kvm. If you want to record data into 40 recorded via perf kvm record. 42 'perf kvm diff' to displays the performance difference amongst two perf.data 43 files captured via perf record. 45 'perf kvm buildid-list' to display the buildids found in a perf data file, 156 linkperf:perf-top[1], linkperf:perf-record[1], linkperf:perf-report[1], 157 linkperf:perf-diff[1], linkperf:perf-buildid-list[1], [all …]
|
| /linux-6.15/tools/perf/tests/shell/ |
| H A D | lock_contention.sh | 47 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1 67 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 78 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \ 102 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 125 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 143 perf lock con -a -b -g -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 165 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging > /dev/null 2> ${result} 197 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging > /dev/null 2> ${result} 225 perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 269 perf lock con -a -b -g -E 1 -F wait_total -q -- perf bench sched messaging > /dev/null 2> ${result} [all …]
|
| H A D | pipe_test.sh | 13 data=$(mktemp /tmp/perf.data.XXXXXX) 14 data2=$(mktemp /tmp/perf.data2.XXXXXX) 42 if ! perf record -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task} 49 if ! perf record -g -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task} 73 …if ! perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt}| perf report -i - | grep… 80 …if ! perf record -g -e task-clock:u -o - ${prog} | perf inject ${inject_opt} | perf report -i - | … 87 perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt} -o ${data} 94 perf record -e task-clock:u -o ${data} ${prog} 95 if ! perf inject ${inject_opt} -i ${data} | perf report -i - | grep -q ${sym}; then 102 if ! perf inject ${inject_opt} -i ${data} | perf report -i - | grep -q ${sym}; then [all …]
|
| H A D | record.sh | 19 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX) 20 script_output=$(mktemp /tmp/__perf_test.perf.data.XXXXX.script) 62 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 85 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 97 if ! perf list pmu | grep -q 'br_inst_retired.near_call' 109 | perf script -F ip,sym,iregs -i - 2> /dev/null \ 150 if ! perf record -o "${perfdata}" ${testprog} 2> /dev/null 162 if ! perf record -e cpu-clock,cs --threads=package \ 217 if ! perf report -i "${perfdata}" -D | grep -q "CGROUP" 235 perf test -w brstack 2> /dev/null [all …]
|
| H A D | test_brstack.sh | 32 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u -- ${TESTPROG} > /dev/null 2>&1 33 perf script -i $TMPDIR/perf.data --fields brstacksym | tr -s ' ' '\n' > $TMPDIR/perf.script 40 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script 41 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/CALL/.*$" $TMPDIR/perf.script 42 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script 43 grep -E -m1 "^brstack_bar\+[^ ]*/brstack_foo\+[^ ]*/RET/.*$" $TMPDIR/perf.script 44 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bench\+[^ ]*/RET/.*$" $TMPDIR/perf.script 46 grep -E -m1 "^brstack\+[^ ]*/brstack\+[^ ]*/UNCOND/.*$" $TMPDIR/perf.script 61 …perf record -o $TMPDIR/perf.data --branch-filter $test_filter_filter,save_type,u -- ${TESTPROG} > … 62 perf script -i $TMPDIR/perf.data --fields brstack | tr -s ' ' '\n' | grep '.' > $TMPDIR/perf.script [all …]
|
| /linux-6.15/tools/perf/bench/ |
| H A D | Build | 1 perf-bench-y += sched-messaging.o 2 perf-bench-y += sched-pipe.o 4 perf-bench-y += syscall.o 5 perf-bench-y += mem-functions.o 6 perf-bench-y += futex-hash.o 7 perf-bench-y += futex-wake.o 11 perf-bench-y += epoll-wait.o 12 perf-bench-y += epoll-ctl.o 13 perf-bench-y += synthesize.o 19 perf-bench-y += pmu-scan.o [all …]
|
| /linux-6.15/tools/perf/trace/beauty/ |
| H A D | Build | 1 perf-y += clone.o 2 perf-y += fcntl.o 3 perf-y += flock.o 4 perf-y += fs_at_flags.o 5 perf-y += fsmount.o 6 perf-y += fspick.o 8 perf-y += ioctl.o 10 perf-y += kcmp.o 15 perf-y += prctl.o 18 perf-y += socket.o [all …]
|
| /linux-6.15/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_core_perf.c | 127 perf->max_per_pipe_ib, in _dpu_core_perf_calc_crtc() 143 perf->max_per_pipe_ib = max(perf->max_per_pipe_ib, in dpu_core_perf_aggregate() 228 peak_bw = perf.max_per_pipe_ib; in _dpu_core_perf_crtc_update_bus() 436 perf->perf_tune.mode); in _dpu_core_perf_mode_read() 454 struct dpu_core_perf *perf = &dpu_kms->perf; in dpu_core_perf_debugfs_init() local 460 &perf->max_core_clk_rate); in dpu_core_perf_debugfs_init() 462 &perf->core_clk_rate); in dpu_core_perf_debugfs_init() 478 &perf->fix_core_clk_rate); in dpu_core_perf_debugfs_init() 480 &perf->fix_core_ib_vote); in dpu_core_perf_debugfs_init() 482 &perf->fix_core_ab_vote); in dpu_core_perf_debugfs_init() [all …]
|
| /linux-6.15/tools/perf/tests/shell/attr/ |
| H A D | README | 3 This testing support is embedded into perf directly and is governed 8 each event created within single perf command. Each event details 9 are stored into separate text file. Once perf command is finished 33 Following tests are defined (with perf commands): 35 perf record kill (test-record-basic) 44 perf record -c 123 kill (test-record-count) 45 perf record -d kill (test-record-data) 46 perf record -F 100 kill (test-record-freq) 49 perf record --call-graph dwarf kill (test-record-graph-dwarf) 61 perf record -R kill (test-record-raw) [all …]
|
| /linux-6.15/tools/perf/arch/x86/util/ |
| H A D | Build | 1 perf-util-y += header.o 2 perf-util-y += tsc.o 3 perf-util-y += pmu.o 5 perf-util-y += perf_regs.o 6 perf-util-y += topdown.o 7 perf-util-y += machine.o 8 perf-util-y += event.o 9 perf-util-y += evlist.o 11 perf-util-y += evsel.o 12 perf-util-y += iostat.o [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_perf.c | 1666 struct i915_perf *perf = stream->perf; in i915_oa_stream_destroy() local 3236 struct i915_perf *perf = stream->perf; in i915_oa_stream_init() local 3735 struct i915_perf *perf = stream->perf; in i915_perf_release() local 3880 stream->perf = perf; in i915_perf_open_ioctl_locked() 4264 struct i915_perf *perf = &i915->perf; in i915_perf_register() local 4294 struct i915_perf *perf = &i915->perf; in i915_perf_unregister() local 4635 oa_config->perf = perf; in i915_perf_add_config_ioctl() 5018 struct i915_perf *perf = &i915->perf; in i915_perf_init_info() local 5059 struct i915_perf *perf = &i915->perf; in i915_perf_init() local 5208 struct i915_perf *perf = &i915->perf; in i915_perf_fini() local [all …]
|
| /linux-6.15/drivers/cpufreq/ |
| H A D | amd-pstate.c | 409 WRITE_ONCE(cpudata->perf, perf); in msr_init_perf() 435 WRITE_ONCE(cpudata->perf, perf); in shmem_init_perf() 620 WRITE_ONCE(cpudata->perf, perf); in amd_pstate_update_min_max_limit() 636 perf = READ_ONCE(cpudata->perf); in amd_pstate_update_freq() 695 perf = READ_ONCE(cpudata->perf); in amd_pstate_adjust_perf() 891 perf = READ_ONCE(cpudata->perf); in amd_pstate_init_freq() 902 WRITE_ONCE(cpudata->perf, perf); in amd_pstate_init_freq() 974 perf = READ_ONCE(cpudata->perf); in amd_pstate_cpu_init() 1048 perf = READ_ONCE(cpudata->perf); in show_amd_pstate_max_freq() 1061 perf = READ_ONCE(cpudata->perf); in show_amd_pstate_lowest_nonlinear_freq() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_perf.c | 28 oa_config->perf = perf; in alloc_empty_config() 33 mutex_lock(&perf->metrics_lock); in alloc_empty_config() 53 mutex_lock(&perf->metrics_lock); in destroy_empty_config() 77 mutex_lock(&perf->metrics_lock); in get_empty_config() 123 stream->perf = perf; in test_stream() 125 mutex_lock(>->perf.lock); in test_stream() 130 mutex_unlock(>->perf.lock); in test_stream() 141 mutex_lock(>->perf.lock); in stream_destroy() 143 mutex_unlock(>->perf.lock); in stream_destroy() 427 struct i915_perf *perf = &i915->perf; in i915_perf_live_selftests() local [all …]
|