Home
last modified time | relevance | path

Searched full:perf (Results 1 – 25 of 999) sorted by relevance

12345678910>>...40

/linux-5.10/tools/perf/util/
DBuild1 perf-y += annotate.o
2 perf-y += block-info.o
3 perf-y += block-range.o
4 perf-y += build-id.o
5 perf-y += cacheline.o
6 perf-y += config.o
7 perf-y += copyfile.o
8 perf-y += ctype.o
9 perf-y += db-export.o
10 perf-y += env.o
[all …]
/linux-5.10/tools/perf/tests/
DBuild3 perf-y += builtin-test.o
4 perf-y += parse-events.o
5 perf-y += dso-data.o
6 perf-y += attr.o
7 perf-y += vmlinux-kallsyms.o
8 perf-y += openat-syscall.o
9 perf-y += openat-syscall-all-cpus.o
10 perf-y += openat-syscall-tp-fields.o
11 perf-y += mmap-basic.o
12 perf-y += perf-record.o
[all …]
Dhists_cumulate.c27 /* perf [kernel] schedule() */
29 /* perf [perf] main() */
31 /* perf [perf] cmd_record() */
33 /* perf [libc] malloc() */
35 /* perf [libc] free() */
37 /* perf [perf] main() */
39 /* perf [kernel] page_fault() */
259 * 20.00% perf perf [.] main in test1()
263 * 10.00% perf [kernel] [k] page_fault in test1()
264 * 10.00% perf [kernel] [k] schedule in test1()
[all …]
Dhists_common.h43 * perf: 100 perf main
44 * perf: 100 perf run_command
45 * perf: 100 perf cmd_record
46 * perf: 100 libc malloc
47 * perf: 100 libc free
48 * perf: 100 libc realloc
49 * perf: 100 [kernel] schedule
50 * perf: 100 [kernel] page_fault
51 * perf: 100 [kernel] sys_perf_event_open
52 * perf: 200 perf main
[all …]
Dhists_output.c28 /* perf [kernel] schedule() */
30 /* perf [perf] main() */
32 /* perf [perf] cmd_record() */
34 /* perf [libc] malloc() */
36 /* perf [libc] free() */
38 /* perf [perf] main() */
40 /* perf [kernel] page_fault() */
143 * 20.00% perf perf [.] main in test1()
147 * 10.00% perf [kernel] [k] page_fault in test1()
148 * 10.00% perf [kernel] [k] schedule in test1()
[all …]
/linux-5.10/tools/perf/Documentation/
Dtips.txt1 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 …]
Dperf-kvm.txt1 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 …]
Dperf.data-directory-format.txt1 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 …]
Dperf-script-python.txt1 perf-script-python(1)
6 perf-script-python - Process trace data with a Python script
11 'perf script' [-s [Python]:script[.py] ]
16 This perf script option is used to process perf script data using perf's
26 raw perf script stream. You can avoid reading the rest of this
32 'syscall-counts' script you see when you list the available perf script
33 scripts via 'perf script -l'. As such, this script also shows how to
34 integrate your script into the list of general-purpose 'perf script'
81 allowable by perf. These individual syscall events will however be
92 don't care how it exited, so we'll use 'perf record' to record only
[all …]
Dperf-diff.txt1 perf-diff(1)
6 perf-diff - Read perf.data files and display the differential profile
11 'perf diff' [baseline file] [data file1] [[data file2] ... ]
15 This command displays the performance difference amongst two or more perf.data
16 files captured via perf record.
18 If no parameters are passed it will assume perf.data.old and perf.data.
21 specified perf.data files.
24 As the perf.data files could come from different binaries, the symbols addresses
25 could vary. So perf diff is based on the comparison of the files and
62 Please see description of --sort in the perf-report man page.
[all …]
DBuild.txt2 1) perf build
4 The perf build process consists of several separated building blocks,
5 which are linked together to form the perf binary:
7 - perf builtin commands
11 Several makefiles govern the perf build:
15 Makefile.perf with a -j option to do parallel builds.
17 - Makefile.perf
18 main makefile that triggers build of all perf objects including
34 2) perf build
36 The Makefile.perf triggers the build framework for build objects:
[all …]
Dperf-script.txt1 perf-script(1)
6 perf-script - Read perf.data (created by perf record) and display trace output
11 'perf script' [<options>]
12 'perf script' [<options>] record <script> [<record-options>] <command>
13 'perf script' [<options>] report <script> [script-args]
14 'perf script' [<options>] <script> <required-script-args> [<record-options>] <command>
15 'perf script' [<options>] <top-script> [script-args]
21 There are several variants of perf script:
23 'perf script' to see a detailed trace of the workload that was
28 available via 'perf script -l'). The following variants allow you to
[all …]
Dperf-script-perl.txt1 perf-script-perl(1)
6 perf-script-perl - Process trace data with a Perl script
11 'perf script' [-s [Perl]:script[.pl] ]
16 This perf script option is used to process perf script data using perf's
24 You can avoid reading the rest of this document by running 'perf script
25 -g perl' in the same directory as an existing perf.data trace file.
31 ~/libexec/perf-core/scripts/perl for typical examples showing how to
33 the check-perf-script.pl script, while not interesting for its results,
39 When perf script is invoked using a trace script, a user-defined
47 available as calls back into the perf executable (see below).
[all …]
/linux-5.10/tools/perf/
Dcommand-list.txt2 # 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 …]
DBuild1 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.gitignore2 PERF-CFLAGS
3 PERF-GUI-VARS
4 PERF-VERSION-FILE
6 perf
7 perf-read-vdso32
8 perf-read-vdsox32
9 perf-help
10 perf-record
11 perf-report
12 perf-stat
[all …]
/linux-5.10/drivers/ntb/test/
Dntb_perf.c45 * PCIe NTB Perf Linux driver
126 * Perf driver data definition
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()
[all …]
/linux-5.10/drivers/gpu/drm/msm/
Dmsm_perf.c41 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-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dperf.c26 #include <subdev/bios/perf.h>
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()
[all …]
/linux-5.10/tools/perf/tests/attr/
DREADME3 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-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_perf.c55 bw_factor = kms->catalog->perf.bw_inefficiency_factor; in _dpu_core_perf_calc_bw()
92 clk_factor = kms->catalog->perf.clk_inefficiency_factor; in _dpu_core_perf_calc_clk()
111 struct dpu_core_perf_params *perf) in _dpu_core_perf_calc_crtc() argument
115 if (!kms || !kms->catalog || !crtc || !state || !perf) { in _dpu_core_perf_calc_crtc()
121 memset(perf, 0, sizeof(struct dpu_core_perf_params)); in _dpu_core_perf_calc_crtc()
123 if (kms->perf.perf_tune.mode == DPU_PERF_MODE_MINIMUM) { in _dpu_core_perf_calc_crtc()
124 perf->bw_ctl = 0; in _dpu_core_perf_calc_crtc()
125 perf->max_per_pipe_ib = 0; in _dpu_core_perf_calc_crtc()
126 perf->core_clk_rate = 0; in _dpu_core_perf_calc_crtc()
127 } else if (kms->perf.perf_tune.mode == DPU_PERF_MODE_FIXED) { in _dpu_core_perf_calc_crtc()
[all …]
/linux-5.10/tools/perf/trace/beauty/
DBuild1 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-5.10/tools/perf/bench/
DBuild1 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-5.10/tools/perf/arch/x86/util/
DBuild1 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
10 perf-$(CONFIG_DWARF) += dwarf-regs.o
11 perf-$(CONFIG_BPF_PROLOGUE) += dwarf-regs.o
[all …]
/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_perf.c20 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 …]

12345678910>>...40