| /kernel/linux/linux-6.6/tools/perf/tests/ |
| D | Build | 3 perf-y += builtin-test.o 4 perf-y += builtin-test-list.o 5 perf-y += parse-events.o 6 perf-y += dso-data.o 7 perf-y += attr.o 8 perf-y += vmlinux-kallsyms.o 9 perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall.o 10 perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall-all-cpus.o 11 perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall-tp-fields.o 12 perf-$(CONFIG_LIBTRACEEVENT) += mmap-basic.o [all …]
|
| D | hists_cumulate.c | 27 /* 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() */ 272 * 20.00% perf perf [.] main in test1() 276 * 10.00% perf [kernel] [k] page_fault in test1() 277 * 10.00% perf [kernel] [k] schedule in test1() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | Build | 1 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | Build | 4 perf-y += arm64-frame-pointer-unwind-support.o 5 perf-y += addr_location.o 6 perf-y += annotate.o 7 perf-y += block-info.o 8 perf-y += block-range.o 9 perf-y += build-id.o 10 perf-y += cacheline.o 11 perf-y += config.o 12 perf-y += copyfile.o 13 perf-y += ctype.o [all …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | Build | 3 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 …]
|
| D | hists_cumulate.c | 27 /* 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/Documentation/ |
| D | tips.txt | 1 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 …]
|
| D | perf.txt | 1 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 76 linkperf:perf-stat[1], linkperf:perf-top[1], 77 linkperf:perf-record[1], linkperf:perf-report[1], [all …]
|
| D | perf-daemon.txt | 1 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 …]
|
| /kernel/linux/linux-5.10/tools/perf/Documentation/ |
| D | tips.txt | 1 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/ |
| 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 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 …]
|
| D | Build | 1 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-buildid-list.o 9 perf-y += builtin-buildid-cache.o 10 perf-y += builtin-kallsyms.o [all …]
|
| /kernel/linux/linux-5.10/tools/perf/ |
| 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 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 …]
|
| D | Build | 1 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 …]
|
| /kernel/linux/linux-6.6/drivers/ntb/test/ |
| D | ntb_perf.c | 45 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/ntb/test/ |
| D | ntb_perf.c | 45 * 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/tests/shell/ |
| D | test_task_analyzer.sh | 2 # perf script task-analyzer tests 5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX) 10 if [ -e "$perfdir/scripts/python/Perf-Trace-Util" ]; then 15 rm -f perf.data 16 rm -f perf.data.old 53 # check if perf is compiled with libtraceevent support 55 perf version --build-options | grep -q " OFF .* HAVE_LIBTRACEEVENT" && return 2 61 perf record -e sched:sched_switch -a -- sleep 1 > /dev/null 2>&1 62 # check if perf data file got created in above step. 63 if [ ! -e "perf.data" ]; then [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
| D | msm_perf.c | 41 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
| D | msm_perf.c | 41 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| D | perf.c | 26 #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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| D | perf.c | 26 #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 …]
|
| /kernel/linux/linux-6.6/tools/perf/tests/attr/ |
| 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) 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 …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/attr/ |
| 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) 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/bench/ |
| D | Build | 1 perf-y += sched-messaging.o 2 perf-y += sched-pipe.o 3 perf-y += sched-seccomp-notify.o 4 perf-y += syscall.o 5 perf-y += mem-functions.o 6 perf-y += futex-hash.o 7 perf-y += futex-wake.o 8 perf-y += futex-wake-parallel.o 9 perf-y += futex-requeue.o 10 perf-y += futex-lock-pi.o [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_core_perf.c | 55 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 …]
|