Home
last modified time | relevance | path

Searched refs:perf (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/linux-6.3-rc2/drivers/ntb/test/
A Dntb_perf.c260 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-6.3-rc2/tools/perf/util/
A DBuild2 perf-y += annotate.o
5 perf-y += build-id.o
7 perf-y += config.o
9 perf-y += ctype.o
11 perf-y += env.o
12 perf-y += event.o
13 perf-y += evlist.o
16 perf-y += evsel.o
24 perf-y += mmap.o
39 perf-y += smt.o
[all …]
/linux-6.3-rc2/tools/perf/tests/
A DBuild3 perf-y += builtin-test.o
6 perf-y += dso-data.o
7 perf-y += attr.o
13 perf-y += perf-record.o
17 perf-y += pmu.o
28 perf-y += wp.o
41 perf-y += bpf.o
43 perf-y += mem.o
50 perf-y += sdt.o
53 perf-y += perf-hooks.o
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dperf.c34 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.3-rc2/tools/perf/
A Dcommand-list.txt2 # 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 …]
A DBuild1 perf-y += builtin-bench.o
2 perf-y += builtin-annotate.o
3 perf-y += builtin-config.o
4 perf-y += builtin-diff.o
7 perf-y += builtin-help.o
38 perf-y += bench/
39 perf-y += tests/
41 perf-y += perf.o
56 perf-y += util/
57 perf-y += arch/
[all …]
A D.gitignore6 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.3-rc2/drivers/gpu/drm/msm/
A Dmsm_perf.c115 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()
208 perf = kzalloc(sizeof(*perf), GFP_KERNEL); in msm_perf_debugfs_init()
209 if (!perf) in msm_perf_debugfs_init()
215 priv->perf = perf; in msm_perf_debugfs_init()
224 struct msm_perf_state *perf = priv->perf; in msm_perf_debugfs_cleanup() local
226 if (!perf) in msm_perf_debugfs_cleanup()
[all …]
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf.txt1 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],linkperf:perf-arm-spe[1],
83 linkperf:perf-config[1], linkperf:perf-data[1], linkperf:perf-diff[1],
85 linkperf:perf-help[1], linkperf:perf-inject[1],
86 linkperf:perf-intel-pt[1], linkperf:perf-iostat[1], linkperf:perf-kallsyms[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 Dtips.txt1 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 Dperf-daemon.txt1 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 Dperf.data-directory-format.txt1 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 …]
A Dperf-kvm.txt1 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,
151 linkperf:perf-top[1], linkperf:perf-record[1], linkperf:perf-report[1],
152 linkperf:perf-diff[1], linkperf:perf-buildid-list[1],
[all …]
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_core_perf.c122 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()
416 const struct dpu_perf_cfg *cfg = perf->catalog->perf; in _dpu_core_perf_mode_write()
431 perf->perf_tune.min_core_clk = perf->max_core_clk_rate; in _dpu_core_perf_mode_write()
470 struct dpu_core_perf *perf = &dpu_kms->perf; in dpu_core_perf_debugfs_init() local
[all …]
/linux-6.3-rc2/tools/perf/tests/shell/
A Dlock_contention.sh8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
40 perf lock record -o ${perfdata} -- perf bench sched messaging > /dev/null 2>&1
60 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
71 perf lock record -o- -- perf bench sched messaging 2> /dev/null | \
72 perf lock contention -i- -E 1 -q 2> ${result}
95 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
118 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
140 perf lock con -a -b -Y spinlock -q -- perf bench sched messaging > /dev/null 2> ${result}
172 perf lock con -a -b -L tasklist_lock -q -- perf bench sched messaging > /dev/null 2> ${result}
200 perf lock con -a -b -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result}
[all …]
A Dtest_brstack.sh26 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u -- ${TESTPROG} > /dev/null 2>&1
27 perf script -i $TMPDIR/perf.data --fields brstacksym | xargs -n1 > $TMPDIR/perf.script
34 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
35 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
36 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
37 grep -E -m1 "^brstack_bar\+[^ ]*/brstack_foo\+[^ ]*/RET/.*$" $TMPDIR/perf.script
38 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bench\+[^ ]*/RET/.*$" $TMPDIR/perf.script
40 grep -E -m1 "^brstack\+[^ ]*/brstack\+[^ ]*/UNCOND/.*$" $TMPDIR/perf.script
55perf record -o $TMPDIR/perf.data --branch-filter $filter,save_type,u -- ${TESTPROG} > /dev/null 2>…
56 perf script -i $TMPDIR/perf.data --fields brstack | xargs -n1 > $TMPDIR/perf.script
[all …]
A Drecord.sh11 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX)
30 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null
41 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
64 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
76 if ! perf list | grep -q 'br_inst_retired.near_call'
88 | perf script -F ip,sym,iregs -i - 2> /dev/null \
105 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
118 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
129 if ! perf record -o "${perfdata}" ${testprog} 2> /dev/null
135 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}"
[all …]
A Dpipe_test.sh5 data=$(mktemp /tmp/perf.data.XXXXXX)
10 if ! perf record -e task-clock:u -o - ${prog} | perf report -i - --task | grep ${task}; then
15 if ! perf record -e task-clock:u -o - ${prog} | perf inject -b | perf report -i - | grep ${sym}; th…
20 perf record -e task-clock:u -o - ${prog} | perf inject -b -o ${data}
21 if ! perf report -i ${data} | grep ${sym}; then
26 perf record -e task-clock:u -o ${data} ${prog}
27 if ! perf inject -b -i ${data} | perf report -i - | grep ${sym}; then
/linux-6.3-rc2/tools/perf/arch/x86/util/
A DBuild1 perf-y += header.o
2 perf-y += tsc.o
3 perf-y += pmu.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
11 perf-y += evsel.o
[all …]
/linux-6.3-rc2/tools/perf/trace/beauty/
A 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
14 perf-y += prctl.o
15 perf-y += renameat.o
17 perf-y += socket.o
[all …]
/linux-6.3-rc2/tools/perf/bench/
A 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
8 perf-y += futex-requeue.o
10 perf-y += epoll-wait.o
11 perf-y += epoll-ctl.o
12 perf-y += synthesize.o
[all …]
/linux-6.3-rc2/tools/perf/tests/attr/
A 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)
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)
59 perf record -R kill (test-record-raw)
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_perf.c1575 struct i915_perf *perf = stream->perf; in i915_oa_stream_destroy() local
3186 struct i915_perf *perf = stream->perf; in i915_oa_stream_init() local
3703 struct i915_perf *perf = stream->perf; in i915_perf_release() local
3849 stream->perf = perf; in i915_perf_open_ioctl_locked()
4189 struct i915_perf *perf = &i915->perf; in i915_perf_register() local
4219 struct i915_perf *perf = &i915->perf; in i915_perf_unregister() local
4540 oa_config->perf = perf; in i915_perf_add_config_ioctl()
4791 struct i915_perf *perf = &i915->perf; in i915_perf_init_info() local
4831 struct i915_perf *perf = &i915->perf; in i915_perf_init() local
4971 struct i915_perf *perf = &i915->perf; in i915_perf_fini() local
[all …]
/linux-6.3-rc2/tools/perf/python/
A Dtracepoint.py6 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.3-rc2/drivers/gpu/drm/i915/selftests/
A Di915_perf.c28 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(&gt->perf.lock); in test_stream()
130 mutex_unlock(&gt->perf.lock); in test_stream()
141 mutex_lock(&gt->perf.lock); in stream_destroy()
143 mutex_unlock(&gt->perf.lock); in stream_destroy()
427 struct i915_perf *perf = &i915->perf; in i915_perf_live_selftests() local
[all …]

Completed in 73 milliseconds

12345678910>>...18