Home
last modified time | relevance | path

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

12345678910>>...48

/linux/tools/perf/util/
H A DBuild4 perf-util-y += annotate-arch/
5 perf-util-y += arm64-frame-pointer-unwind-support.o
6 perf-util-y += addr2line.o
7 perf-util-y += addr_location.o
8 perf-util-y += annotate.o
9 perf-util-y += aslr.o
10 perf-util-y += blake2s.o
11 perf-util-y += block-info.o
12 perf-util-y += block-range.o
13 perf
[all...]
/linux/tools/perf/Documentation/
H A 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
6 Customize output of perf script with: perf script -F event,ip,sym
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 repor
[all...]
H A Dperf.txt1 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
66 kmaps - Print kernel and module maps (perf script
67 and perf report without browser)
[all …]
H A Dperf-daemon.txt1 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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
[all...]
H A Dperf-amd-ibs.txt1 perf-amd-ibs(1)
6 perf-amd-ibs - Support for AMD Instruction-Based Sampling (IBS) with perf tool
11 'perf record' -e ibs_op//
12 'perf record' -e ibs_fetch//
27 using the Linux perf utility. The following files will be created at boot time
44 (sample was generated at IP X but perf would record it at IP X+n). Hence,
66 # perf record -e ibs_op// -c 100000 -a
70 # perf record -e ibs_op// -c 100000 -C 10
75 # perf recor
[all...]
/linux/tools/perf/tests/
H A DBuild3 perf-test-y += builtin-test.o
4 perf-test-y += tests-scripts.o
5 perf-test-y += parse-events.o
6 perf-test-y += uncore-event-sorting.o
7 perf-test-y += dso-data.o
8 perf-test-y += vmlinux-kallsyms.o
9 perf-test-y += openat-syscall.o
10 perf-test-y += openat-syscall-all-cpus.o
11 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-syscall-tp-fields.o
12 perf
[all...]
H A 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 [kerne
[all...]
H A 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 …]
/linux/drivers/ntb/test/
H A 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 in perf_spad_cmd_send()
304 perf_spad_cmd_recv(struct perf_ctx * perf,int * pidx,enum perf_cmd * cmd,u64 * data) perf_spad_cmd_recv() argument
351 struct perf_ctx *perf = peer->perf; perf_msg_cmd_send() local
393 perf_msg_cmd_recv(struct perf_ctx * perf,int * pidx,enum perf_cmd * cmd,u64 * data) perf_msg_cmd_recv() argument
423 struct perf_ctx *perf = peer->perf; perf_cmd_send() local
456 perf_cmd_recv(struct perf_ctx * perf) perf_cmd_recv() argument
484 struct perf_ctx *perf = ctx; perf_link_event() local
506 struct perf_ctx *perf = ctx; perf_db_event() local
517 struct perf_ctx *perf = ctx; perf_msg_event() local
539 struct perf_ctx *perf = peer->perf; perf_setup_outbuf() local
571 struct perf_ctx *perf = peer->perf; perf_setup_inbuf() local
658 perf_init_service(struct perf_ctx * perf) perf_init_service() argument
696 perf_enable_service(struct perf_ctx * perf) perf_enable_service() argument
740 perf_disable_service(struct perf_ctx * perf) perf_disable_service() argument
861 struct perf_ctx *perf = data; perf_dma_filter() local
871 struct perf_ctx *perf = pthr->perf; perf_init_test() local
923 struct perf_ctx *perf = pthr->perf; perf_run_test() local
966 struct perf_ctx *perf = pthr->perf; perf_sync_test() local
995 struct perf_ctx *perf = pthr->perf; perf_clear_test() local
1049 perf_set_tcnt(struct perf_ctx * perf,u8 tcnt) perf_set_tcnt() argument
1064 perf_terminate_test(struct perf_ctx * perf) perf_terminate_test() argument
1079 struct perf_ctx *perf = peer->perf; perf_submit_test() local
1115 perf_read_stats(struct perf_ctx * perf,char * buf,size_t size,ssize_t * pos) perf_read_stats() argument
1150 perf_init_threads(struct perf_ctx * perf) perf_init_threads() argument
1170 perf_clear_threads(struct perf_ctx * perf) perf_clear_threads() argument
1183 struct perf_ctx *perf = filep->private_data; perf_dbgfs_read_info() local
1266 struct perf_ctx *perf = filep->private_data; perf_dbgfs_read_run() local
1288 struct perf_ctx *perf = filep->private_data; perf_dbgfs_write_run() local
1317 struct perf_ctx *perf = filep->private_data; perf_dbgfs_read_tcnt() local
1330 struct perf_ctx *perf = filep->private_data; perf_dbgfs_write_tcnt() local
1351 perf_setup_dbgfs(struct perf_ctx * perf) perf_setup_dbgfs() argument
1378 perf_clear_dbgfs(struct perf_ctx * perf) perf_clear_dbgfs() argument
1390 struct perf_ctx *perf; perf_create_data() local
1409 struct perf_ctx *perf = peer->perf; perf_setup_peer_mw() local
1436 perf_init_peers(struct perf_ctx * perf) perf_init_peers() argument
1484 struct perf_ctx *perf; perf_probe() local
1512 struct perf_ctx *perf = ntb->ctx; perf_remove() local
[all...]
/linux/tools/perf/
H A DBuild1 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
7 perf-y += builtin-ftrace.o
8 perf-y += builtin-help.o
9 perf-y += builtin-buildid-list.o
10 perf
[all...]
H A D.gitignore2 PERF-CFLAGS
3 PERF-GUI-VARS
4 PERF-VERSION-FILE
6 perf
7 !include/perf/
8 perf-read-vdso32
9 perf-read-vdsox32
10 perf-help
11 perf-record
12 perf
[all...]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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/tools/perf/tests/shell/
H A Dperf_sched_stats.sh2 # perf sched stats tests (no_mlock)
12 perfdata=$(mktemp /tmp/__perf_test_sched_stats.perf.data.XXXXX)
13 perfdata2=$(mktemp /tmp/__perf_test_sched_stats.perf.data.XXXXX)
33 echo "Basic perf sched stats record test"
34 if ! perf sched stats record -o "${perfdata}" true 2>&1 | \
35 grep -E -q "[ perf sched stats: Wrote samples to perf.data ]"
37 echo "Basic perf sched stats record test [Failed]"
41 echo "Basic perf sched stats record test [Success]"
45 echo "Basic perf sche
[all...]
H A Dlock_contention.sh8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
15 msg_workload="perf bench sched messaging -g 1 -p"
41 if ! perf list tracepoint | grep -q lock:contention_begin; then
57 echo "Testing perf lock record and perf lock contention"
58 perf lock record -o ${perfdata} -- ${msg_workload} > /dev/null 2>&1
60 perf lock contention -i ${perfdata} -E 1 -q 2> ${result}
70 echo "Testing perf lock contention --use-bpf"
72 if ! perf lock con -b true > /dev/null 2>&1 ; then
77 # the perf loc
[all...]
H A Dtest_brstack.sh12 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then
21 TESTPROG="perf test -w brstack"
45 if ! tr -s ' ' '\n' < "$TMPDIR/perf.script" | grep -E -m1 -q "$1"; then
56 perf record -o "$TMPDIR/perf.data" --branch-filter any,save_type,u -- ${TESTPROG} > "$TMPDIR/record.txt" 2>&1
57 perf script -i "$TMPDIR/perf.data" --fields brstacksym > "$TMPDIR/perf.script"
78 perf script -i "$TMPDIR/perf
[all...]
H A Dtest_perf_data_converter_ctf.sh2 # 'perf data convert --to-ctf' command test
9 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
29 if ! perf check feature babeltrace2-ctf-writer
31 echo "perf not linked with babeltrace2-ctf-writer, skipping test"
38 echo "Testing Perf Data Conversion Command to CTF (File input)"
40 if ! perf record -o "$perfdata" -F 99 -g -- perf test -w noploop
42 echo "Failed to record perf data"
51 if ! perf data convert --to-ctf "$ctf_dir" --force -i "$perfdata"
53 echo "Perf Dat
[all...]
/linux/Documentation/netlink/specs/
H A Ddev-energymodel.yaml18 name: perf-state-flags
21 name: perf-state-inefficient
23 The performance state is inefficient. There is in this perf-domain,
28 name: perf-domain-flags
31 name: perf-domain-microwatts
35 name: perf-domain-skip-inefficiencies
39 name: perf-domain-artificial
46 name: perf-domain
54 name: perf-domain-id
63 enum: perf-domain-flags
[all …]
/linux/tools/perf/bench/
H A DBuild1 perf-bench-y += sched-messaging.o
2 perf-bench-y += sched-pipe.o
3 perf-bench-y += sched-seccomp-notify.o
4 perf-bench-y += syscall.o
5 perf-bench-y += mem-functions.o
6 perf-bench-y += atomic.o
7 perf-bench-y += futex.o
8 perf-bench-y += futex-hash.o
9 perf-bench-y += futex-wake.o
10 perf
[all...]
/linux/tools/perf/trace/beauty/
H A DBuild1 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
11 perf-y += mount_flags.o
12 perf
[all...]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c36 * the perf clock factor.
120 struct dpu_core_perf_params *perf) in _dpu_crtc_get_kms()
124 if (!perf_cfg || !crtc || !state || !perf) { in _dpu_core_perf_calc_crtc()
129 perf->bw_ctl = _dpu_core_perf_calc_bw(perf_cfg, state); in _dpu_core_perf_calc_crtc()
130 perf->max_per_pipe_ib = perf_cfg->min_dram_ib; in _dpu_core_perf_calc_crtc()
131 perf->core_clk_rate = _dpu_core_perf_calc_clk(perf_cfg, crtc, state); in _dpu_core_perf_calc_crtc()
134 crtc->base.id, perf->core_clk_rate, in _dpu_core_perf_calc_crtc()
135 perf->max_per_pipe_ib, in _dpu_core_perf_calc_crtc()
136 (u32)DIV_ROUND_UP_ULL(perf->bw_ctl, 1000)); in _dpu_core_perf_calc_crtc()
141 struct dpu_core_perf_params *perf) in _dpu_core_perf_calc_crtc()
125 _dpu_core_perf_calc_crtc(const struct dpu_core_perf * core_perf,struct drm_crtc * crtc,struct drm_crtc_state * state,struct dpu_core_perf_params * perf) _dpu_core_perf_calc_crtc() argument
146 dpu_core_perf_aggregate(struct drm_device * ddev,enum dpu_crtc_client_type curr_client_type,struct dpu_core_perf_params * perf) dpu_core_perf_aggregate() argument
180 struct dpu_core_perf_params perf = { 0 }; dpu_core_perf_crtc_check() local
223 struct dpu_core_perf_params perf = { 0 }; _dpu_core_perf_crtc_update_bus() local
419 struct dpu_core_perf *perf = file->private_data; _dpu_core_perf_mode_write() local
447 struct dpu_core_perf *perf = file->private_data; _dpu_core_perf_mode_read() local
471 struct dpu_core_perf *perf = &dpu_kms->perf; dpu_core_perf_debugfs_init() local
511 dpu_core_perf_init(struct dpu_core_perf * perf,const struct dpu_perf_cfg * perf_cfg,unsigned long max_core_clk_rate) dpu_core_perf_init() argument
[all...]
/linux/tools/perf/tests/shell/common/
H A Dpatterns.sh161 export RE_LINE_RECORD1="^\[\s+perf\s+record:\s+Woken up $RE_NUMBER times? to write data\s+\].*$"
162 # The first line of perf-record "OK" output
164 # [ perf record: Woken up 1 times to write data ]
167 export RE_LINE_RECORD2="^\[\s+perf\s+record:\s+Captured and wrote $RE_NUMBER\s*MB\s+(?:[\w\+\.-]*(?…
168 # The second line of perf-record "OK" output
170 # [ perf record: Captured and wrote 0.405 MB perf.data (109 samples) ]
171 # [ perf record: Captured and wrote 0.405 MB perf.data (~109 samples) ]
172 # [ perf record: Captured and wrote 0.405 MB /some/temp/dir/perf.data (109 samples) ]
173 # [ perf record: Captured and wrote 0.405 MB ./perf.data (109 samples) ]
174 # [ perf record: Captured and wrote 0.405 MB ./perf.data.3 (109 samples) ]
[all …]

12345678910>>...48