/linux/drivers/ntb/test/ |
H A D | ntb_perf.c | 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() 278 PERF_SPAD_CMD(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/tests/ |
H A D | Build | 3 perf-test-y += builtin-test.o 4 perf-test-y += tests-scripts.o 5 perf-test-y += parse-events.o 6 perf-test-y += dso-data.o 7 perf-test-y += vmlinux-kallsyms.o 8 perf-test-y += openat-syscall.o 9 perf-test-y += openat-syscall-all-cpus.o 10 perf-test-$(CONFIG_LIBTRACEEVENT) += openat-syscall-tp-fields.o 11 perf-test-y += mmap-basic.o 12 perf [all...] |
/linux/tools/perf/util/ |
H A D | Build | 4 perf-util-y += arm64-frame-pointer-unwind-support.o 5 perf-util-y += addr_location.o 6 perf-util-y += annotate.o 7 perf-util-y += block-info.o 8 perf-util-y += block-range.o 9 perf-util-y += build-id.o 10 perf-util-y += cacheline.o 11 perf-util-y += config.o 12 perf-util-y += copyfile.o 13 perf [all...] |
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A 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 in nvbios_perf_table() 83 u32 perf = nvbios_perf_table(bios, ver, hdr, cnt, len, &snr, &ssz); nvbios_perf_entry() local 98 u32 perf = nvbios_perf_entry(bios, idx, ver, hdr, cnt, len); nvbios_perfEp() local 206 u32 perf = nvbios_perf_table(bios, &ver, &hdr, &cnt, &len, &snr, &ssz); nvbios_perf_fan_parse() local [all...] |
/linux/tools/perf/ |
H A 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 [all...] |
H A D | .gitignore | 6 perf 7 !include/perf/ 8 perf-read-vdso32 9 perf-read-vdsox32 10 perf-help 11 perf-record 12 perf-report 13 perf-stat 14 perf-top 15 perf* [all...] |
/linux/drivers/gpu/drm/msm/ |
H A 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() 123 struct msm_perf_state *perf = file->private_data; perf_read() local 152 struct msm_perf_state *perf = inode->i_private; perf_open() local 183 struct msm_perf_state *perf = inode->i_private; perf_release() local 201 struct msm_perf_state *perf; msm_perf_debugfs_init() local 223 struct msm_perf_state *perf = priv->perf; msm_perf_debugfs_cleanup() local [all...] |
/linux/tools/perf/Documentation/ |
H A 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 66 kmaps - Print kernel and module maps (perf script 67 and perf repor [all...] |
H A 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 6 Customize output of perf script with: perf script -F event,ip,sym 7 Generate a script for your data: perf script -g <lang> 8 Save output of perf stat using: perf stat record <target workload> 9 Create an archive with symtabs to analyse on other machine: perf archiv [all...] |
H A 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 recor [all...] |
H A D | perf.data-directory-format.txt | 1 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 recor [all...] |
H A D | Build.txt | 2 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 trigger [all...] |
/linux/tools/perf/tests/shell/ |
H A D | lock_contention.sh | 8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX) 30 if ! perf list tracepoint | grep -q lock:contention_begin; then 46 echo "Testing perf lock record and perf lock contention" 47 perf lock record -o ${perfdata} -- perf bench sched messaging -p > /dev/null 2>&1 49 perf lock contention -i ${perfdata} -E 1 -q 2> ${result} 59 echo "Testing perf lock contention --use-bpf" 61 if ! perf lock con -b true > /dev/null 2>&1 ; then 66 # the perf loc [all...] |
H A D | record.sh | 2 # perf record tests (exclusive) 21 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX) 22 script_output=$(mktemp /tmp/__perf_test.perf.data.XXXXX.script) 23 testprog="perf test -w thloop" 32 # nmb_threads for perf.data.n (equal to nmb_cpus) and 55 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null 60 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null 66 if ! perf report -i "${perfdata}" -q | grep -q "${testsym}" 80 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null 89 if ! perf repor [all...] |
H A D | test_task_analyzer.sh | 2 # perf script task-analyzer tests (exclusive) 5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX) 18 rm -f perf.data 19 rm -f perf.data.old 56 # check if perf is compiled with libtraceevent support 58 perf check feature -q libtraceevent && return 0 64 perf record -e sched:sched_switch -a -- sleep 1 > /dev/null 2>&1 65 # check if perf data file got created in above step. 66 if [ ! -e "perf.data" ]; then 67 printf "FAIL: perf recor [all...] |
H A D | stat.sh | 2 # perf stat tests 10 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 | \ 45 if ! perf stat -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}' \ 51 if ! perf stat -r2 -e '{cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles,cycles}:W' \ 65 if ! perf stat -e '{slots,topdown-retiring}' true > /dev/null 2>&1 74 if perf sta [all...] |
H A D | record_bpf_filter.sh | 2 # perf record sample filtering (by BPF) tests 8 perfdata=$(mktemp /tmp/__perf_test.perf.data.XXXXX) 25 if ! perf record -e task-clock --filter 'period > 1' \ 30 echo "try 'sudo perf record --setup-filter pin' first." 44 if ! perf record -e task-clock -c 10000 --filter 'ip < 0xffffffff00000000' \ 51 if perf script -i "${perfdata}" -F ip | grep 'ffffffff[0-9a-f]*' 70 if ! perf record -e task-clock --filter 'cpu > 0' \ 78 if ! perf record --sample-cpu -e task-clock --filter 'cpu > 0' \ 92 if ! perf record -e task-clock --filter 'period > 1000, ip > 0' \ 100 if ! perf recor [all...] |
/linux/tools/perf/bench/ |
H A D | Build | 1 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 += futex.o 7 perf-bench-y += futex-hash.o 8 perf-bench-y += futex-wake.o 9 perf-bench-y += futex-wake-parallel.o 10 perf [all...] |
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_core_perf.c | 112 struct dpu_core_perf_params *perf) in _dpu_core_perf_calc_crtc() argument 116 if (!perf_cfg || !crtc || !state || !perf) { in _dpu_core_perf_calc_crtc() 121 perf->bw_ctl = _dpu_core_perf_calc_bw(perf_cfg, crtc); in _dpu_core_perf_calc_crtc() 122 perf->max_per_pipe_ib = perf_cfg->min_dram_ib; in _dpu_core_perf_calc_crtc() 123 perf->core_clk_rate = _dpu_core_perf_calc_clk(perf_cfg, crtc, state); in _dpu_core_perf_calc_crtc() 126 crtc->base.id, perf->core_clk_rate, in _dpu_core_perf_calc_crtc() 127 perf->max_per_pipe_ib, in _dpu_core_perf_calc_crtc() 128 (u32)DIV_ROUND_UP_ULL(perf->bw_ctl, 1000)); in _dpu_core_perf_calc_crtc() 133 struct dpu_core_perf_params *perf) in dpu_core_perf_aggregate() argument 143 perf in dpu_core_perf_aggregate() 167 struct dpu_core_perf_params perf = { 0 }; dpu_core_perf_crtc_check() local 210 struct dpu_core_perf_params perf = { 0 }; _dpu_core_perf_crtc_update_bus() local 402 struct dpu_core_perf *perf = file->private_data; _dpu_core_perf_mode_write() local 430 struct dpu_core_perf *perf = file->private_data; _dpu_core_perf_mode_read() local 454 struct dpu_core_perf *perf = &dpu_kms->perf; dpu_core_perf_debugfs_init() local 494 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/attr/ |
H A 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 recor [all...] |
/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 139 static inline u8 freq_to_perf(union perf_cached perf, u32 nominal_freq, unsigned int freq_val) in freq_to_perf() argument 141 u32 perf_val = DIV_ROUND_UP_ULL((u64)freq_val * perf.nominal_perf, nominal_freq); in freq_to_perf() 143 return (u8)clamp(perf_val, perf.lowest_perf, perf.highest_perf); in freq_to_perf() 146 static inline u32 perf_to_freq(union perf_cached perf, u32 nominal_freq, u8 perf_val) in perf_to_freq() argument 149 perf.nominal_perf); in perf_to_freq() 202 pr_debug("Could not retrieve energy perf value (%d)\n", ret); in msr_get_epp() 223 pr_debug("Could not retrieve energy perf value (%d)\n", ret); in shmem_get_epp() 246 union perf_cached perf = READ_ONCE(cpudata->perf); in msr_update_perf() local 297 union perf_cached perf = cpudata->perf; msr_set_epp() local 342 union perf_cached perf = cpudata->perf; shmem_set_epp() local 391 union perf_cached perf = READ_ONCE(cpudata->perf); msr_init_perf() local 435 union perf_cached perf = READ_ONCE(cpudata->perf); shmem_init_perf() local 506 union perf_cached perf = READ_ONCE(cpudata->perf); shmem_update_perf() local 570 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_update() local 608 union perf_cached perf; amd_pstate_verify() local 631 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_update_min_max_limit() local 652 union perf_cached perf; amd_pstate_update_freq() local 709 union perf_cached perf; amd_pstate_adjust_perf() local 745 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_cpu_boost_update() local 915 union perf_cached perf; amd_pstate_init_freq() local 968 union perf_cached perf; amd_pstate_cpu_init() local 1057 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_cpu_exit() local 1079 union perf_cached perf; show_amd_pstate_max_freq() local 1092 union perf_cached perf; show_amd_pstate_lowest_nonlinear_freq() local 1118 u8 perf; show_amd_pstate_prefcore_ranking() local 1460 union perf_cached perf; amd_pstate_epp_cpu_init() local 1545 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_epp_cpu_exit() local 1560 union perf_cached perf; amd_pstate_epp_update_limit() local 1608 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_cpu_offline() local 1621 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_suspend() local 1645 union perf_cached perf = READ_ONCE(cpudata->perf); amd_pstate_resume() local [all...] |
H A D | acpi-cpufreq.c | 199 struct acpi_processor_performance *perf; in extract_io() local 202 perf = to_perf_data(data); in extract_io() 204 for (i = 0; i < perf->state_count; i++) { in extract_io() 205 if (value == perf->states[i].status) in extract_io() 215 struct acpi_processor_performance *perf; in extract_msr() local 224 perf = to_perf_data(data); in extract_msr() 227 if (msr == perf->states[pos->driver_data].status) in extract_msr() 309 struct acpi_processor_performance *perf = to_perf_data(data); in drv_read() local 311 .reg = &perf->control_register, in drv_read() 332 struct acpi_processor_performance *perf in drv_write() local 414 struct acpi_processor_performance *perf; acpi_cpufreq_target() local 464 struct acpi_processor_performance *perf; acpi_cpufreq_fast_switch() local 498 struct acpi_processor_performance *perf; acpi_cpufreq_guess_freq() local 688 struct acpi_processor_performance *perf; acpi_cpufreq_cpu_init() local [all...] |
/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 35 * This i915 perf interface enables userspace to configure and open a file 56 * i915 perf file descriptors represent a "stream" instead of an "event"; where 57 * a perf event primarily corresponds to a single 64bit value, while a stream 61 * of related counters. Samples for an i915 perf stream capturing OA metrics 68 * i915 perf stream configurations are provided as an array of u64 (key,value) 72 * i915 perf doesn't support exposing metrics via an mmap'd circular buffer. 85 * The first prototype of this driver was based on the core perf 87 * perf, we found we were breaking or working around too many assumptions baked 88 * into perf's currently cpu centric design. 90 * In the end we didn't see a clear benefit to making perf' 410 i915_perf_get_oa_config(struct i915_perf * perf,int metrics_set) i915_perf_get_oa_config() argument 1492 struct i915_perf *perf = &ce->engine->i915->perf; set_oa_ctx_ctrl_offset() local 1666 struct i915_perf *perf = stream->perf; i915_oa_stream_destroy() local 3236 struct i915_perf *perf = stream->perf; i915_oa_stream_init() local 3735 struct i915_perf *perf = stream->perf; i915_perf_release() local 3792 i915_perf_open_ioctl_locked(struct i915_perf * perf,struct drm_i915_perf_open_param * param,struct perf_open_properties * props,struct drm_file * file) i915_perf_open_ioctl_locked() argument 3930 oa_exponent_to_ns(struct i915_perf * perf,int exponent) oa_exponent_to_ns() argument 3939 oa_format_valid(struct i915_perf * perf,enum drm_i915_oa_format format) oa_format_valid() argument 3945 oa_format_add(struct i915_perf * perf,enum drm_i915_oa_format format) oa_format_add() argument 3965 read_properties_unlocked(struct i915_perf * perf,u64 __user * uprops,u32 n_props,struct perf_open_properties * props) read_properties_unlocked() argument 4219 struct i915_perf *perf = &to_i915(dev)->perf; i915_perf_open_ioctl() local 4264 struct i915_perf *perf = &i915->perf; i915_perf_register() local 4294 struct i915_perf *perf = &i915->perf; i915_perf_unregister() local 4303 gen8_is_valid_flex_addr(struct i915_perf * perf,u32 addr) gen8_is_valid_flex_addr() argument 4422 gen7_is_valid_b_counter_addr(struct i915_perf * perf,u32 addr) gen7_is_valid_b_counter_addr() argument 4427 gen8_is_valid_mux_addr(struct i915_perf * perf,u32 addr) gen8_is_valid_mux_addr() argument 4433 gen11_is_valid_mux_addr(struct i915_perf * perf,u32 addr) gen11_is_valid_mux_addr() argument 4440 hsw_is_valid_mux_addr(struct i915_perf * perf,u32 addr) hsw_is_valid_mux_addr() argument 4446 chv_is_valid_mux_addr(struct i915_perf * perf,u32 addr) chv_is_valid_mux_addr() argument 4452 gen12_is_valid_b_counter_addr(struct i915_perf * perf,u32 addr) gen12_is_valid_b_counter_addr() argument 4457 mtl_is_valid_oam_b_counter_addr(struct i915_perf * perf,u32 addr) mtl_is_valid_oam_b_counter_addr() argument 4466 xehp_is_valid_b_counter_addr(struct i915_perf * perf,u32 addr) xehp_is_valid_b_counter_addr() argument 4473 gen12_is_valid_mux_addr(struct i915_perf * perf,u32 addr) gen12_is_valid_mux_addr() argument 4502 alloc_oa_regs(struct i915_perf * perf,bool (* is_valid)(struct i915_perf * perf,u32 addr),u32 __user * regs,u32 n_regs) alloc_oa_regs() argument 4503 alloc_oa_regs(struct i915_perf * perf,bool (* is_valid)(struct i915_perf * perf,u32 addr),u32 __user * regs,u32 n_regs) alloc_oa_regs() argument 4564 create_dynamic_oa_sysfs_entry(struct i915_perf * perf,struct i915_oa_config * oa_config) create_dynamic_oa_sysfs_entry() argument 4599 struct i915_perf *perf = &to_i915(dev)->perf; i915_perf_add_config_ioctl() local 4763 struct i915_perf *perf = &to_i915(dev)->perf; i915_perf_remove_config_ioctl() local 4946 oa_init_engine_groups(struct i915_perf * perf) oa_init_engine_groups() argument 4960 oa_init_supported_formats(struct i915_perf * perf) oa_init_supported_formats() argument 5018 struct i915_perf *perf = &i915->perf; i915_perf_init_info() local 5059 struct i915_perf *perf = &i915->perf; i915_perf_init() local 5208 struct i915_perf *perf = &i915->perf; i915_perf_fini() local [all...] |
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_perf.c | 20 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 in destroy_empty_config() 72 get_empty_config(struct i915_perf * perf) get_empty_config() argument 92 test_stream(struct i915_perf * perf) test_stream() argument 427 struct i915_perf *perf = &i915->perf; i915_perf_live_selftests() local [all...] |
/linux/tools/perf/tests/shell/lib/ |
H A D | stat_output.sh | 14 perf stat $2 true 27 perf stat -a $2 true 40 perf stat -A -a --no-merge $2 true 48 perf stat -I 1000 $2 true 56 perf stat -e cpu-clock $2 true 69 perf stat --per-core -a $2 true 82 perf stat --per-thread -p $$ $2 true 95 perf stat --per-cache -a $2 true 108 perf stat --per-cluster -a $2 true 120 perf sta [all...] |