Home
last modified time | relevance | path

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

12345678910>>...22

/openbmc/linux/tools/perf/tests/
H 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 += mem.o
48 perf-y += sdt.o
51 perf-y += perf-hooks.o
60 perf-y += pfm.o
[all …]
/openbmc/linux/drivers/ntb/test/
H 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 …]
/openbmc/linux/tools/perf/util/
H A DBuild11 perf-y += config.o
13 perf-y += ctype.o
15 perf-y += env.o
16 perf-y += event.o
19 perf-y += evsel.o
26 perf-y += mmap.o
32 perf-y += perf-regs-arch/
41 perf-y += smt.o
46 perf-y += top.o
48 perf-y += dso.o
[all …]
/openbmc/linux/tools/perf/
H 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 …]
H 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 …]
H 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 …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H 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 …]
/openbmc/linux/drivers/gpu/drm/msm/
H 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 …]
/openbmc/linux/tools/perf/Documentation/
H 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 …]
H 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 …]
H 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 …]
H 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 …]
/openbmc/linux/tools/perf/tests/shell/
H 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 | \
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}
228perf lock con -a -b -t -S unix_stream -E 1 -q -- perf bench sched messaging > /dev/null 2> ${resul…
[all …]
H 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 $test_filter_filter,save_type,u -- ${TESTPROG} > …
56 perf script -i $TMPDIR/perf.data --fields brstack | xargs -n1 > $TMPDIR/perf.script
[all …]
H A Dstat.sh10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':"
21 if ! perf stat record -o - true | perf stat report -i - 2>&1 | \
33 if ! perf stat record -o - true | perf script -i - 2>&1 | \
65 if ! perf stat -e '{slots,topdown-retiring}' true > /dev/null 2>&1
70 if perf stat -e '{slots,topdown-retiring}' true 2>&1 | grep -E -q "<not supported>"
76 if perf stat -e '{topdown-retiring,slots}' true 2>&1 | grep -E -q "<not supported>"
91 if ! perf stat --no-merge -e "$ok_grouping" true > /dev/null 2>&1
97 if perf stat --no-merge -e "$group_needs_break" true 2>&1 | grep -E -q "<not supported>"
111 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
127 if perf stat -e "$i/instructions/" true > /dev/null 2>&1
[all …]
H 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 …]
H 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
/openbmc/linux/tools/perf/bench/
H A DBuild1 perf-y += sched-messaging.o
2 perf-y += sched-pipe.o
4 perf-y += syscall.o
5 perf-y += mem-functions.o
6 perf-y += futex-hash.o
7 perf-y += futex-wake.o
11 perf-y += epoll-wait.o
12 perf-y += epoll-ctl.o
13 perf-y += synthesize.o
19 perf-y += pmu-scan.o
[all …]
/openbmc/linux/tools/perf/arch/x86/util/
H 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
11 perf-y += evsel.o
12 perf-y += iostat.o
[all …]
/openbmc/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 += 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 …]
/openbmc/linux/tools/perf/tests/attr/
H 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 …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c124 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()
140 perf->max_per_pipe_ib, perf->bw_ctl); in _dpu_core_perf_calc_crtc()
227 perf.max_per_pipe_ib = max(perf.max_per_pipe_ib, in _dpu_core_perf_crtc_update_bus()
238 avg_bw = perf.bw_ctl; in _dpu_core_perf_crtc_update_bus()
438 perf->perf_tune.mode); in _dpu_core_perf_mode_read()
451 struct dpu_core_perf *perf = &dpu_kms->perf; in dpu_core_perf_debugfs_init() local
459 &perf->core_clk_rate); in dpu_core_perf_debugfs_init()
477 &perf->fix_core_ib_vote); in dpu_core_perf_debugfs_init()
[all …]
/openbmc/linux/tools/perf/python/
H 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):
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_perf.c1688 struct i915_perf *perf = stream->perf; in i915_oa_stream_destroy() local
3267 struct i915_perf *perf = stream->perf; in i915_oa_stream_init() local
3792 struct i915_perf *perf = stream->perf; in i915_perf_release() local
3938 stream->perf = perf; in i915_perf_open_ioctl_locked()
4322 struct i915_perf *perf = &i915->perf; in i915_perf_register() local
4352 struct i915_perf *perf = &i915->perf; in i915_perf_unregister() local
4691 oa_config->perf = perf; in i915_perf_add_config_ioctl()
5075 struct i915_perf *perf = &i915->perf; in i915_perf_init_info() local
5116 struct i915_perf *perf = &i915->perf; in i915_perf_init() local
5265 struct i915_perf *perf = &i915->perf; in i915_perf_fini() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H 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 …]

12345678910>>...22