| /linux/drivers/ntb/test/ |
| 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 873 struct perf_ctx *perf = pthr->perf; in perf_init_test() local 925 struct perf_ctx *perf = pthr->perf; in perf_run_test() local 968 struct perf_ctx *perf = pthr->perf; in perf_sync_test() local 1158 perf->test_peer = &perf->peers[0]; in perf_init_threads() 1164 pthr->perf = perf; in perf_init_threads() [all …]
|
| /linux/tools/perf/util/ |
| A D | Build | 1 perf-y += annotate.o 2 perf-y += block-info.o 4 perf-y += build-id.o 6 perf-y += config.o 8 perf-y += ctype.o 10 perf-y += env.o 11 perf-y += event.o 12 perf-y += evlist.o 15 perf-y += evsel.o 24 perf-y += mmap.o [all …]
|
| /linux/tools/perf/tests/ |
| A D | Build | 3 perf-y += builtin-test.o 5 perf-y += dso-data.o 6 perf-y += attr.o 12 perf-y += perf-record.o 16 perf-y += pmu.o 27 perf-y += wp.o 40 perf-y += bpf.o 42 perf-y += mem.o 49 perf-y += sdt.o 52 perf-y += perf-hooks.o [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| 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/drivers/gpu/drm/msm/ |
| 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() 167 perf->cnt = 0; in perf_open() 205 perf = kzalloc(sizeof(*perf), GFP_KERNEL); in msm_perf_debugfs_init() 206 if (!perf) in msm_perf_debugfs_init() 212 priv->perf = perf; in msm_perf_debugfs_init() 221 struct msm_perf_state *perf = priv->perf; in msm_perf_debugfs_cleanup() local 223 if (!perf) in msm_perf_debugfs_cleanup() [all …]
|
| /linux/tools/perf/ |
| A D | Build | 1 perf-y += builtin-bench.o 3 perf-y += builtin-config.o 4 perf-y += builtin-diff.o 7 perf-y += builtin-help.o 32 perf-y += bench/ 33 perf-y += tests/ 35 perf-y += perf.o 50 perf-y += util/ 51 perf-y += arch/ 52 perf-y += ui/ [all …]
|
| 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 19 perf-kmem mainporcelain common 20 perf-kvm mainporcelain common 23 perf-mem mainporcelain common [all …]
|
| A D | .gitignore | 6 perf 9 perf-help 10 perf-record 11 perf-report 12 perf-stat 13 perf-top 14 perf*.1 15 perf*.xml 16 perf*.html 18 perf.data [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_core_perf.c | 122 perf->bw_ctl = 0; in _dpu_core_perf_calc_crtc() 126 perf->bw_ctl = kms->perf.fix_core_ab_vote; in _dpu_core_perf_calc_crtc() 127 perf->max_per_pipe_ib = kms->perf.fix_core_ib_vote; in _dpu_core_perf_calc_crtc() 128 perf->core_clk_rate = kms->perf.fix_core_clk_rate; in _dpu_core_perf_calc_crtc() 131 perf->max_per_pipe_ib = kms->catalog->perf.min_dram_ib; in _dpu_core_perf_calc_crtc() 138 perf->max_per_pipe_ib, perf->bw_ctl); in _dpu_core_perf_calc_crtc() 226 perf.max_per_pipe_ib = max(perf.max_per_pipe_ib, in _dpu_core_perf_crtc_update_bus() 427 struct dpu_perf_cfg *cfg = &perf->catalog->perf; in _dpu_core_perf_mode_write() 442 perf->perf_tune.min_core_clk = perf->max_core_clk_rate; in _dpu_core_perf_mode_write() 481 struct dpu_core_perf *perf = &dpu_kms->perf; in dpu_core_perf_debugfs_init() local [all …]
|
| /linux/tools/perf/Documentation/ |
| A D | perf.txt | 1 perf(1) 76 linkperf:perf-stat[1], linkperf:perf-top[1], 77 linkperf:perf-record[1], linkperf:perf-report[1], 80 linkperf:perf-annotate[1],linkperf:perf-archive[1], 83 linkperf:perf-config[1], linkperf:perf-data[1], linkperf:perf-diff[1], 84 linkperf:perf-evlist[1], linkperf:perf-ftrace[1], 85 linkperf:perf-help[1], linkperf:perf-inject[1], 87 linkperf:perf-kmem[1], linkperf:perf-kvm[1], linkperf:perf-lock[1], 88 linkperf:perf-mem[1], linkperf:perf-probe[1], linkperf:perf-sched[1], 89 linkperf:perf-script[1], linkperf:perf-test[1], [all …]
|
| A D | tips.txt | 1 For a higher level overview, try: perf report --sort comm,dso 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> 11 List events using substring match: perf list <keyword> 15 Show individual samples with: perf script 17 Profiling branch (mis)predictions with: perf record -b / perf report 18 To show assembler sample contexts use perf record -b / perf script -F +brstackinsn --xed 23 For memory address profiling, try: perf mem record / perf mem report 41 Add -I to perf record to sample register values, which will be visible in perf report sample contex… [all …]
|
| 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 …]
|
| 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, 163 linkperf:perf-top[1], linkperf:perf-record[1], linkperf:perf-report[1], 164 linkperf:perf-diff[1], linkperf:perf-buildid-list[1], [all …]
|
| 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 …]
|
| /linux/tools/perf/arch/x86/util/ |
| A 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 11 perf-y += evsel.o [all …]
|
| /linux/tools/perf/tests/attr/ |
| 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) 45 perf record -d kill (test-record-data) 46 perf record -F 100 kill (test-record-freq) 48 perf record --call-graph dwarf kill (test-record-graph-dwarf) 58 perf record -R kill (test-record-raw) 59 perf stat -e cycles kill (test-stat-basic) [all …]
|
| /linux/tools/perf/bench/ |
| A 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 8 perf-y += futex-requeue.o 9 perf-y += futex-lock-pi.o 10 perf-y += epoll-wait.o 11 perf-y += epoll-ctl.o [all …]
|
| /linux/tools/perf/trace/beauty/ |
| A 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 14 perf-y += prctl.o 15 perf-y += renameat.o 17 perf-y += socket.o [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| A D | i915_perf.c | 1369 struct i915_perf *perf = stream->perf; in i915_oa_stream_destroy() local 2855 struct i915_perf *perf = stream->perf; in i915_oa_stream_init() local 3045 struct i915_perf *perf = stream->perf; in i915_perf_read() local 3164 struct i915_perf *perf = stream->perf; in i915_perf_poll() local 3308 struct i915_perf *perf = stream->perf; in i915_perf_ioctl() local 3493 stream->perf = perf; in i915_perf_open_ioctl_locked() 3807 struct i915_perf *perf = &i915->perf; in i915_perf_register() local 3836 struct i915_perf *perf = &i915->perf; in i915_perf_unregister() local 4090 oa_config->perf = perf; in i915_perf_add_config_ioctl() 4351 struct i915_perf *perf = &i915->perf; in i915_perf_init() local [all …]
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| 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() 117 stream->perf = perf; in test_stream() 119 mutex_lock(&perf->lock); in test_stream() 124 mutex_unlock(&perf->lock); in test_stream() 133 struct i915_perf *perf = stream->perf; in stream_destroy() local 135 mutex_lock(&perf->lock); in stream_destroy() 137 mutex_unlock(&perf->lock); in stream_destroy() 421 struct i915_perf *perf = &i915->perf; in i915_perf_live_selftests() local [all …]
|
| /linux/drivers/cpufreq/ |
| A D | acpi-cpufreq.c | 201 perf = to_perf_data(data); in extract_io() 223 perf = to_perf_data(data); in extract_msr() 422 perf = to_perf_data(data); in acpi_cpufreq_target() 480 perf = to_perf_data(data); in acpi_cpufreq_fast_switch() 499 perf = to_perf_data(data); in acpi_cpufreq_guess_freq() 510 perf->state = i; in acpi_cpufreq_guess_freq() 514 perf->state = perf->state_count-1; in acpi_cpufreq_guess_freq() 518 perf->state = 0; in acpi_cpufreq_guess_freq() 749 if (perf->state_count <= 1) { in acpi_cpufreq_cpu_init() 755 if (perf->control_register.space_id != perf->status_register.space_id) { in acpi_cpufreq_cpu_init() [all …]
|
| /linux/tools/perf/python/ |
| A 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/tools/perf/tests/shell/ |
| A D | daemon.sh | 112 perf daemon stop --config ${config} 123 perf daemon start --config ${config} 147 local config=$(mktemp /tmp/perf.daemon.config.XXX) 148 local base=$(mktemp -d /tmp/perf.daemon.base.XXX) 196 local config=$(mktemp /tmp/perf.daemon.config.XXX) 197 local base=$(mktemp -d /tmp/perf.daemon.base.XXX) 316 local base=$(mktemp -d /tmp/perf.daemon.base.XXX) 368 local base=$(mktemp -d /tmp/perf.daemon.base.XXX) 386 perf daemon signal --config ${config} 407 local base=$(mktemp -d /tmp/perf.daemon.base.XXX) [all …]
|
| /linux/scripts/ |
| A D | Makefile.package | 115 perf-tar=perf-$(KERNELVERSION) 119 git --git-dir=$(srctree)/.git archive --prefix=$(perf-tar)/ \ 121 echo $$(cat tools/perf/MANIFEST)) \ 122 -o $(perf-tar).tar; \ 126 util/PERF-VERSION-GEN $(CURDIR)/$(perf-tar)/); \ 127 tar rf $(perf-tar).tar $(perf-tar)/HEAD $(perf-tar)/PERF-VERSION-FILE; \ 135 -f -9 $(perf-tar).tar) 137 perf-tar-pkgs := perf-tar-src-pkg perf-targz-src-pkg perf-tarbz2-src-pkg \ 138 perf-tarxz-src-pkg perf-tarzst-src-pkg 139 PHONY += $(perf-tar-pkgs) [all …]
|
| /linux/tools/perf/arch/powerpc/util/ |
| A D | Build | 1 perf-y += header.o 2 perf-y += machine.o 3 perf-y += kvm-stat.o 4 perf-y += perf_regs.o 5 perf-y += mem-events.o 6 perf-y += sym-handling.o 7 perf-y += evsel.o 8 perf-y += event.o 10 perf-$(CONFIG_DWARF) += dwarf-regs.o 11 perf-$(CONFIG_DWARF) += skip-callchain-idx.o [all …]
|