/linux-6.1.9/drivers/ntb/test/ |
D | ntb_perf.c | 144 struct perf_ctx *perf; member 169 struct perf_ctx *perf; member 205 int (*cmd_recv)(struct perf_ctx *perf, int *pidx, enum perf_cmd *cmd, 247 static void perf_terminate_test(struct perf_ctx *perf); 253 link = ntb_link_is_up(peer->perf->ntb, NULL, NULL); in perf_link_is_up() 260 struct perf_ctx *perf = peer->perf; in perf_spad_cmd_send() local 264 dev_dbg(&perf->ntb->dev, "CMD send: %d 0x%llx\n", cmd, data); in perf_spad_cmd_send() 277 sts = ntb_peer_spad_read(perf->ntb, peer->pidx, in perf_spad_cmd_send() 278 PERF_SPAD_CMD(perf->gidx)); in perf_spad_cmd_send() 284 ntb_peer_spad_write(perf->ntb, peer->pidx, in perf_spad_cmd_send() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | Build | 1 perf-y += arm64-frame-pointer-unwind-support.o 2 perf-y += annotate.o 3 perf-y += block-info.o 4 perf-y += block-range.o 5 perf-y += build-id.o 6 perf-y += cacheline.o 7 perf-y += config.o 8 perf-y += copyfile.o 9 perf-y += ctype.o 10 perf-y += db-export.o [all …]
|
/linux-6.1.9/tools/perf/tests/ |
D | Build | 3 perf-y += builtin-test.o 4 perf-y += builtin-test-list.o 5 perf-y += parse-events.o 6 perf-y += dso-data.o 7 perf-y += attr.o 8 perf-y += vmlinux-kallsyms.o 9 perf-y += openat-syscall.o 10 perf-y += openat-syscall-all-cpus.o 11 perf-y += openat-syscall-tp-fields.o 12 perf-y += mmap-basic.o [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | perf.c | 34 u32 perf = 0; in nvbios_perf_table() local 38 perf = nvbios_rd32(bios, bit_P.offset + 0); in nvbios_perf_table() 39 if (perf) { in nvbios_perf_table() 40 *ver = nvbios_rd08(bios, perf + 0); in nvbios_perf_table() 41 *hdr = nvbios_rd08(bios, perf + 1); in nvbios_perf_table() 43 *cnt = nvbios_rd08(bios, perf + 5); in nvbios_perf_table() 44 *len = nvbios_rd08(bios, perf + 2); in nvbios_perf_table() 45 *snr = nvbios_rd08(bios, perf + 4); in nvbios_perf_table() 46 *ssz = nvbios_rd08(bios, perf + 3); in nvbios_perf_table() 47 return perf; in nvbios_perf_table() [all …]
|
/linux-6.1.9/tools/perf/ |
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 8 perf-buildid-cache mainporcelain common 9 perf-buildid-list mainporcelain common 10 perf-data mainporcelain common 11 perf-diff mainporcelain common 12 perf-c2c mainporcelain common 13 perf-config mainporcelain common [all …]
|
D | Build | 1 perf-y += builtin-bench.o 2 perf-y += builtin-annotate.o 3 perf-y += builtin-config.o 4 perf-y += builtin-diff.o 5 perf-y += builtin-evlist.o 6 perf-y += builtin-ftrace.o 7 perf-y += builtin-help.o 8 perf-y += builtin-sched.o 9 perf-y += builtin-buildid-list.o 10 perf-y += builtin-buildid-cache.o [all …]
|
D | .gitignore | 6 perf 7 !include/perf/ 8 perf-read-vdso32 9 perf-read-vdsox32 10 perf-help 11 perf-record 12 perf-report 13 perf-stat 14 perf-top 15 perf*.1 [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_perf.c | 41 static int wait_sample(struct msm_perf_state *perf) in wait_sample() argument 45 if (time_after(perf->next_jiffies, start_jiffies)) { in wait_sample() 47 perf->next_jiffies - start_jiffies; in wait_sample() 54 perf->next_jiffies += SAMPLE_TIME; in wait_sample() 58 static int refill_buf(struct msm_perf_state *perf) in refill_buf() argument 60 struct msm_drm_private *priv = perf->dev->dev_private; in refill_buf() 62 char *ptr = perf->buf; in refill_buf() 63 int rem = sizeof(perf->buf); in refill_buf() 66 if ((perf->cnt++ % 32) == 0) { in refill_buf() 86 ret = wait_sample(perf); in refill_buf() [all …]
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf.txt | 1 perf(1) 6 perf - Performance analysis tools for Linux 11 'perf' [--version] [--help] [OPTIONS] COMMAND [ARGS] 17 Run perf help command. 21 Display perf version. 44 List the most commonly used perf commands. 47 List available perf options. 64 perf-event-open - Print perf_event_open() arguments and 76 linkperf:perf-stat[1], linkperf:perf-top[1], 77 linkperf:perf-record[1], linkperf:perf-report[1], [all …]
|
D | tips.txt | 1 For a higher level overview, try: perf report --sort comm,dso 2 Sample related events with: perf record -e '{cycles,instructions}:S' 3 Compare performance results with: perf diff [<old file> <new file>] 4 Boolean options have negative forms, e.g.: perf report --no-children 5 Customize output of perf script with: perf script -F event,ip,sym 6 Generate a script for your data: perf script -g <lang> 7 Save output of perf stat using: perf stat record <target workload> 8 Create an archive with symtabs to analyse on other machine: perf archive 9 Search options using a keyword: perf report -h <keyword> 10 Use parent filter to see specific call path: perf report -p <regex> [all …]
|
D | perf-daemon.txt | 1 perf-daemon(1) 7 perf-daemon - Run record sessions on background 13 'perf daemon' 14 'perf daemon' [<options>] 15 'perf daemon start' [<options>] 16 'perf daemon stop' [<options>] 17 'perf daemon signal' [<options>] 18 'perf daemon ping' [<options>] 26 You can imagine 'perf daemon' of background process with several 27 'perf record' child tasks, like: [all …]
|
D | perf.data-directory-format.txt | 1 perf.data directory format 4 in following versions of perf. We will remove this 8 This document describes the on-disk perf.data directory format. 20 - there is a single perf.data file named 'data' within the directory. 23 $ tree -ps perf.data 24 perf.data 30 Currently the only 'perf record' option to output to a directory is 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) ] [all …]
|
D | perf-kvm.txt | 1 perf-kvm(1) 6 perf-kvm - Tool to trace/measure kvm guest os 11 'perf kvm' [--host] [--guest] [--guestmount=<path> 14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> 16 'perf kvm stat [record|report|live] [<options>] 20 There are a couple of variants of perf kvm: 22 'perf kvm [options] top <command>' to generates and displays 26 'perf kvm record <command>' to record the performance counter profile 27 of an arbitrary workload and save it into a perf data file. We set the 28 default behavior of perf kvm as --guest, so if neither --host nor --guest [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_core_perf.c | 56 bw_factor = kms->catalog->perf->bw_inefficiency_factor; in _dpu_core_perf_calc_bw() 93 clk_factor = kms->catalog->perf->clk_inefficiency_factor; in _dpu_core_perf_calc_clk() 112 struct dpu_core_perf_params *perf) in _dpu_core_perf_calc_crtc() argument 114 if (!kms || !kms->catalog || !crtc || !state || !perf) { in _dpu_core_perf_calc_crtc() 119 memset(perf, 0, sizeof(struct dpu_core_perf_params)); in _dpu_core_perf_calc_crtc() 121 if (kms->perf.perf_tune.mode == DPU_PERF_MODE_MINIMUM) { in _dpu_core_perf_calc_crtc() 122 perf->bw_ctl = 0; in _dpu_core_perf_calc_crtc() 123 perf->max_per_pipe_ib = 0; in _dpu_core_perf_calc_crtc() 124 perf->core_clk_rate = 0; in _dpu_core_perf_calc_crtc() 125 } else if (kms->perf.perf_tune.mode == DPU_PERF_MODE_FIXED) { in _dpu_core_perf_calc_crtc() [all …]
|
/linux-6.1.9/tools/perf/arch/x86/util/ |
D | Build | 1 perf-y += header.o 2 perf-y += tsc.o 3 perf-y += pmu.o 4 perf-y += kvm-stat.o 5 perf-y += perf_regs.o 6 perf-y += topdown.o 7 perf-y += machine.o 8 perf-y += event.o 9 perf-y += evlist.o 10 perf-y += mem-events.o [all …]
|
/linux-6.1.9/tools/perf/bench/ |
D | Build | 1 perf-y += sched-messaging.o 2 perf-y += sched-pipe.o 3 perf-y += syscall.o 4 perf-y += mem-functions.o 5 perf-y += futex-hash.o 6 perf-y += futex-wake.o 7 perf-y += futex-wake-parallel.o 8 perf-y += futex-requeue.o 9 perf-y += futex-lock-pi.o 10 perf-y += epoll-wait.o [all …]
|
/linux-6.1.9/tools/perf/trace/beauty/ |
D | Build | 1 perf-y += clone.o 2 perf-y += fcntl.o 3 perf-y += flock.o 4 perf-y += fsmount.o 5 perf-y += fspick.o 7 perf-y += ioctl.o 9 perf-y += kcmp.o 10 perf-y += mount_flags.o 11 perf-y += move_mount.o 12 perf-y += pkey_alloc.o [all …]
|
/linux-6.1.9/tools/perf/tests/attr/ |
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) 36 perf record -b kill (test-record-branch-any) 37 perf record -j any kill (test-record-branch-filter-any) 38 perf record -j any_call kill (test-record-branch-filter-any_call) 39 perf record -j any_ret kill (test-record-branch-filter-any_ret) 40 perf record -j hv kill (test-record-branch-filter-hv) [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_perf.c | 395 i915_perf_get_oa_config(struct i915_perf *perf, int metrics_set) in i915_perf_get_oa_config() argument 400 oa_config = idr_find(&perf->metrics_idr, metrics_set); in i915_perf_get_oa_config() 477 hw_tail = stream->perf->ops.oa_hw_tail_read(stream); in oa_buffer_check_unlocked() 527 __ratelimit(&stream->perf->tail_pointer_race)) in oa_buffer_check_unlocked() 728 (GRAPHICS_VER(stream->perf->i915) == 12 ? in gen8_append_oa_reports() 742 if (!(report32[0] & stream->perf->gen8_valid_ctx_bit) && in gen8_append_oa_reports() 743 GRAPHICS_VER(stream->perf->i915) <= 11) in gen8_append_oa_reports() 777 if (!stream->perf->exclusive_stream->ctx || in gen8_append_oa_reports() 786 if (stream->perf->exclusive_stream->ctx && in gen8_append_oa_reports() 810 oaheadptr = GRAPHICS_VER(stream->perf->i915) == 12 ? in gen8_append_oa_reports() [all …]
|
/linux-6.1.9/tools/perf/tests/shell/ |
D | test_brstack.sh | 16 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then 65 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u -- $TMPDIR/a.out > /dev/null 2>&1 66 perf script -i $TMPDIR/perf.data --fields brstacksym | xargs -n1 > $TMPDIR/perf.script 72 egrep -m1 "^bench\+[^ ]*/foo\+[^ ]*/IND_CALL$" $TMPDIR/perf.script 73 egrep -m1 "^foo\+[^ ]*/bar\+[^ ]*/CALL$" $TMPDIR/perf.script 74 egrep -m1 "^bench\+[^ ]*/foo\+[^ ]*/CALL$" $TMPDIR/perf.script 75 egrep -m1 "^bench\+[^ ]*/bar\+[^ ]*/CALL$" $TMPDIR/perf.script 76 egrep -m1 "^bar\+[^ ]*/foo\+[^ ]*/RET$" $TMPDIR/perf.script 77 egrep -m1 "^foo\+[^ ]*/bench\+[^ ]*/RET$" $TMPDIR/perf.script 78 egrep -m1 "^bench\+[^ ]*/bench\+[^ ]*/COND$" $TMPDIR/perf.script [all …]
|
D | daemon.sh | 105 local line=`perf daemon --config ${config} -x: | head -1` 112 perf daemon stop --config ${config} 123 perf daemon start --config ${config} 132 state=`perf daemon ping --config ${config} --session ${session} | awk '{ print $1 }'` 147 local config=$(mktemp /tmp/perf.daemon.config.XXX) 148 local base=$(mktemp -d /tmp/perf.daemon.base.XXX) 168 local line=`perf daemon --config ${config} -x: | head -1` 173 local line=`perf daemon --config ${config} -x: | head -2 | tail -1` 180 local line=`perf daemon --config ${config} -x: | head -3 | tail -1` 196 local config=$(mktemp /tmp/perf.daemon.config.XXX) [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | i915_perf.c | 20 alloc_empty_config(struct i915_perf *perf) in alloc_empty_config() argument 28 oa_config->perf = perf; in alloc_empty_config() 33 mutex_lock(&perf->metrics_lock); in alloc_empty_config() 35 oa_config->id = idr_alloc(&perf->metrics_idr, oa_config, 2, 0, GFP_KERNEL); in alloc_empty_config() 37 mutex_unlock(&perf->metrics_lock); in alloc_empty_config() 42 mutex_unlock(&perf->metrics_lock); in alloc_empty_config() 48 destroy_empty_config(struct i915_perf *perf) in destroy_empty_config() argument 53 mutex_lock(&perf->metrics_lock); in destroy_empty_config() 55 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in destroy_empty_config() 63 idr_remove(&perf->metrics_idr, oa_config->id); in destroy_empty_config() [all …]
|
/linux-6.1.9/tools/perf/python/ |
D | tracepoint.py | 6 import perf 8 class tracepoint(perf.evsel): 10 config = perf.tracepoint(sys, name) 11 perf.evsel.__init__(self, 12 type = perf.TYPE_TRACEPOINT, 15 …sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU | perf.SAMPLE_RAW | perf.SAMP… 19 cpus = perf.cpu_map() 20 threads = perf.thread_map(-1) 22 evlist = perf.evlist(cpus, threads) 34 if not isinstance(event, perf.sample_event):
|
/linux-6.1.9/tools/perf/arch/powerpc/util/ |
D | Build | 1 perf-y += header.o 2 perf-y += kvm-stat.o 3 perf-y += perf_regs.o 4 perf-y += mem-events.o 5 perf-y += sym-handling.o 6 perf-y += evsel.o 7 perf-y += event.o 9 perf-$(CONFIG_DWARF) += dwarf-regs.o 10 perf-$(CONFIG_DWARF) += skip-callchain-idx.o 12 perf-$(CONFIG_LIBUNWIND) += unwind-libunwind.o [all …]
|
/linux-6.1.9/drivers/cpufreq/ |
D | acpi-cpufreq.c | 202 struct acpi_processor_performance *perf; in extract_io() local 205 perf = to_perf_data(data); in extract_io() 207 for (i = 0; i < perf->state_count; i++) { in extract_io() 208 if (value == perf->states[i].status) in extract_io() 218 struct acpi_processor_performance *perf; in extract_msr() local 227 perf = to_perf_data(data); in extract_msr() 230 if (msr == perf->states[pos->driver_data].status) in extract_msr() 312 struct acpi_processor_performance *perf = to_perf_data(data); in drv_read() local 314 .reg = &perf->control_register, in drv_read() 335 struct acpi_processor_performance *perf = to_perf_data(data); in drv_write() local [all …]
|