Lines Matching defs:DIM
2714 #define DIM(d, n, func) [d] = { .name = n, .entry = &(func) }
2717 DIM(SORT_PID, "pid", sort_thread),
2718 DIM(SORT_TGID, "tgid", sort_tgid),
2719 DIM(SORT_COMM, "comm", sort_comm),
2720 DIM(SORT_COMM_NODIGIT, "comm_nodigit", sort_comm_nodigit),
2721 DIM(SORT_DSO, "dso", sort_dso),
2722 DIM(SORT_SYM, "symbol", sort_sym),
2723 DIM(SORT_PARENT, "parent", sort_parent),
2724 DIM(SORT_CPU, "cpu", sort_cpu),
2725 DIM(SORT_SOCKET, "socket", sort_socket),
2726 DIM(SORT_SRCLINE, "srcline", sort_srcline),
2727 DIM(SORT_SRCFILE, "srcfile", sort_srcfile),
2728 DIM(SORT_LOCAL_WEIGHT, "local_weight", sort_local_weight),
2729 DIM(SORT_GLOBAL_WEIGHT, "weight", sort_global_weight),
2730 DIM(SORT_TRANSACTION, "transaction", sort_transaction),
2732 DIM(SORT_TRACE, "trace", sort_trace),
2734 DIM(SORT_SYM_SIZE, "symbol_size", sort_sym_size),
2735 DIM(SORT_DSO_SIZE, "dso_size", sort_dso_size),
2736 DIM(SORT_CGROUP, "cgroup", sort_cgroup),
2737 DIM(SORT_CGROUP_ID, "cgroup_id", sort_cgroup_id),
2738 DIM(SORT_SYM_IPC_NULL, "ipc_null", sort_sym_ipc_null),
2739 DIM(SORT_TIME, "time", sort_time),
2740 DIM(SORT_CODE_PAGE_SIZE, "code_page_size", sort_code_page_size),
2741 DIM(SORT_LOCAL_INS_LAT, "local_ins_lat", sort_local_ins_lat),
2742 DIM(SORT_GLOBAL_INS_LAT, "ins_lat", sort_global_ins_lat),
2743 DIM(SORT_LOCAL_PIPELINE_STAGE_CYC, "local_p_stage_cyc", sort_local_p_stage_cyc),
2744 DIM(SORT_GLOBAL_PIPELINE_STAGE_CYC, "p_stage_cyc", sort_global_p_stage_cyc),
2745 DIM(SORT_ADDR, "addr", sort_addr),
2746 DIM(SORT_LOCAL_RETIRE_LAT, "local_retire_lat", sort_local_p_stage_cyc),
2747 DIM(SORT_GLOBAL_RETIRE_LAT, "retire_lat", sort_global_p_stage_cyc),
2748 DIM(SORT_SIMD, "simd", sort_simd),
2749 DIM(SORT_ANNOTATE_DATA_TYPE, "type", sort_type),
2750 DIM(SORT_ANNOTATE_DATA_TYPE_OFFSET, "typeoff", sort_type_offset),
2751 DIM(SORT_SYM_OFFSET, "symoff", sort_sym_offset),
2752 DIM(SORT_ANNOTATE_DATA_TYPE_CACHELINE, "typecln", sort_type_cacheline),
2753 DIM(SORT_PARALLELISM, "parallelism", sort_parallelism),
2756 #undef DIM
2758 #define DIM(d, n, func) [d - __SORT_BRANCH_STACK] = { .name = n, .entry = &(func) }
2761 DIM(SORT_DSO_FROM, "dso_from", sort_dso_from),
2762 DIM(SORT_DSO_TO, "dso_to", sort_dso_to),
2763 DIM(SORT_SYM_FROM, "symbol_from", sort_sym_from),
2764 DIM(SORT_SYM_TO, "symbol_to", sort_sym_to),
2765 DIM(SORT_MISPREDICT, "mispredict", sort_mispredict),
2766 DIM(SORT_IN_TX, "in_tx", sort_in_tx),
2767 DIM(SORT_ABORT, "abort", sort_abort),
2768 DIM(SORT_CYCLES, "cycles", sort_cycles),
2769 DIM(SORT_SRCLINE_FROM, "srcline_from", sort_srcline_from),
2770 DIM(SORT_SRCLINE_TO, "srcline_to", sort_srcline_to),
2771 DIM(SORT_SYM_IPC, "ipc_lbr", sort_sym_ipc),
2772 DIM(SORT_ADDR_FROM, "addr_from", sort_addr_from),
2773 DIM(SORT_ADDR_TO, "addr_to", sort_addr_to),
2774 DIM(SORT_CALLCHAIN_BRANCH_PREDICTED,
2777 DIM(SORT_CALLCHAIN_BRANCH_ABORT,
2780 DIM(SORT_CALLCHAIN_BRANCH_CYCLES,
2785 #undef DIM
2787 #define DIM(d, n, func) [d - __SORT_MEMORY_MODE] = { .name = n, .entry = &(func) }
2790 DIM(SORT_MEM_DADDR_SYMBOL, "symbol_daddr", sort_mem_daddr_sym),
2791 DIM(SORT_MEM_IADDR_SYMBOL, "symbol_iaddr", sort_mem_iaddr_sym),
2792 DIM(SORT_MEM_DADDR_DSO, "dso_daddr", sort_mem_daddr_dso),
2793 DIM(SORT_MEM_LOCKED, "locked", sort_mem_locked),
2794 DIM(SORT_MEM_TLB, "tlb", sort_mem_tlb),
2795 DIM(SORT_MEM_LVL, "mem", sort_mem_lvl),
2796 DIM(SORT_MEM_SNOOP, "snoop", sort_mem_snoop),
2797 DIM(SORT_MEM_DCACHELINE, "dcacheline", sort_mem_dcacheline),
2798 DIM(SORT_MEM_PHYS_DADDR, "phys_daddr", sort_mem_phys_daddr),
2799 DIM(SORT_MEM_DATA_PAGE_SIZE, "data_page_size", sort_mem_data_page_size),
2800 DIM(SORT_MEM_BLOCKED, "blocked", sort_mem_blocked),
2803 #undef DIM
2813 #define DIM(d, n) { .name = n, .fmt = &perf_hpp__format[d], }
2817 DIM(PERF_HPP__OVERHEAD, "overhead"),
2818 DIM(PERF_HPP__LATENCY, "latency"),
2819 DIM(PERF_HPP__OVERHEAD_SYS, "overhead_sys"),
2820 DIM(PERF_HPP__OVERHEAD_US, "overhead_us"),
2821 DIM(PERF_HPP__OVERHEAD_GUEST_SYS, "overhead_guest_sys"),
2822 DIM(PERF_HPP__OVERHEAD_GUEST_US, "overhead_guest_us"),
2823 DIM(PERF_HPP__OVERHEAD_ACC, "overhead_children"),
2824 DIM(PERF_HPP__LATENCY_ACC, "latency_children"),
2825 DIM(PERF_HPP__SAMPLES, "sample"),
2826 DIM(PERF_HPP__PERIOD, "period"),
2827 DIM(PERF_HPP__WEIGHT1, "weight1"),
2828 DIM(PERF_HPP__WEIGHT2, "weight2"),
2829 DIM(PERF_HPP__WEIGHT3, "weight3"),
2831 DIM(PERF_HPP__WEIGHT2, "ins_lat"),
2832 DIM(PERF_HPP__WEIGHT3, "retire_lat"),
2833 DIM(PERF_HPP__WEIGHT3, "p_stage_cyc"),
2843 #undef DIM