Home
last modified time | relevance | path

Searched refs:params (Results 1 – 21 of 21) sorted by relevance

/tools/perf/
Dbuiltin-probe.c50 } params; variable
55 struct perf_probe_event *pev = &params.events[params.nevents]; in parse_probe_event()
58 pr_debug("probe-definition(%d): %s\n", params.nevents, str); in parse_probe_event()
59 if (++params.nevents == MAX_PROBES) { in parse_probe_event()
64 pev->uprobes = params.uprobes; in parse_probe_event()
65 if (params.target) { in parse_probe_event()
66 pev->target = strdup(params.target); in parse_probe_event()
69 params.target_used = true; in parse_probe_event()
72 pev->nsi = nsinfo__get(params.nsi); in parse_probe_event()
87 if (!params.filter) { in params_add_filter()
[all …]
/tools/power/cpupower/utils/
Dcpupower-info.c40 int params; in cmd_info() member
41 } params = {}; in cmd_info() local
58 if (params.perf_bias) in cmd_info()
60 params.perf_bias = 1; in cmd_info()
67 if (!params.params) in cmd_info()
68 params.params = 0x7; in cmd_info()
75 if (!params.perf_bias) in cmd_info()
78 if (params.perf_bias) { in cmd_info()
80 params.perf_bias = 0; in cmd_info()
85 params.perf_bias = 0; in cmd_info()
[all …]
Dcpupower-set.c41 int params; in cmd_set() member
42 } params; in cmd_set() local
56 params.params = 0; in cmd_set()
62 if (params.perf_bias) in cmd_set()
70 params.perf_bias = 1; in cmd_set()
77 if (!params.params) in cmd_set()
97 if (params.perf_bias) { in cmd_set()
/tools/lib/subcmd/
Dsubcmd-util.h11 static inline void report(const char *prefix, const char *err, va_list params) in report() argument
14 vsnprintf(msg, sizeof(msg), err, params); in report()
20 va_list params; in die() local
22 va_start(params, err); in die()
23 report(" Fatal: ", err, params); in die()
25 va_end(params); in die()
/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c111 static int cs_etm_decoder__gen_etmv3_config(struct cs_etm_trace_params *params, in cs_etm_decoder__gen_etmv3_config() argument
114 config->reg_idr = params->etmv3.reg_idr; in cs_etm_decoder__gen_etmv3_config()
115 config->reg_ctrl = params->etmv3.reg_ctrl; in cs_etm_decoder__gen_etmv3_config()
116 config->reg_ccer = params->etmv3.reg_ccer; in cs_etm_decoder__gen_etmv3_config()
117 config->reg_trc_id = params->etmv3.reg_trc_id; in cs_etm_decoder__gen_etmv3_config()
124 static void cs_etm_decoder__gen_etmv4_config(struct cs_etm_trace_params *params, in cs_etm_decoder__gen_etmv4_config() argument
127 config->reg_configr = params->etmv4.reg_configr; in cs_etm_decoder__gen_etmv4_config()
128 config->reg_traceidr = params->etmv4.reg_traceidr; in cs_etm_decoder__gen_etmv4_config()
129 config->reg_idr0 = params->etmv4.reg_idr0; in cs_etm_decoder__gen_etmv4_config()
130 config->reg_idr1 = params->etmv4.reg_idr1; in cs_etm_decoder__gen_etmv4_config()
[all …]
/tools/perf/util/arm-spe-decoder/
Darm-spe-decoder.c67 struct arm_spe_decoder *arm_spe_decoder_new(struct arm_spe_params *params) in arm_spe_decoder_new() argument
71 if (!params->get_trace) in arm_spe_decoder_new()
78 decoder->get_trace = params->get_trace; in arm_spe_decoder_new()
79 decoder->data = params->data; in arm_spe_decoder_new()
Darm-spe-decoder.h77 struct arm_spe_decoder *arm_spe_decoder_new(struct arm_spe_params *params);
/tools/testing/selftests/netfilter/
Dnf-queue.c148 struct nfqnl_msg_config_params params = { in nfq_build_cfg_params() local
162 mnl_attr_put(nlh, NFQA_CFG_PARAMS, sizeof(params), &params); in nfq_build_cfg_params()
/tools/perf/scripts/python/
Dexported-sql-viewer.py212 def __init__(self, glb, params, parent=None): argument
215 self.params = params
486 def __init__(self, glb, params, row, parent_item): argument
488 self.params = params
527 …def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, br… argument
528 super(CallGraphLevelTwoPlusItemBase, self).__init__(glb, params, row, parent_item)
540 if self.params.have_ipc:
555 if self.params.have_ipc:
563 …child_item = CallGraphLevelThreeItem(self.glb, self.params, self.child_count, self.comm_id, self.t…
571 …def __init__(self, glb, params, row, comm_id, thread_id, call_path_id, name, dso, count, time, ins… argument
[all …]
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c242 struct intel_pt_decoder *intel_pt_decoder_new(struct intel_pt_params *params) in intel_pt_decoder_new() argument
246 if (!params->get_trace || !params->walk_insn) in intel_pt_decoder_new()
253 decoder->get_trace = params->get_trace; in intel_pt_decoder_new()
254 decoder->walk_insn = params->walk_insn; in intel_pt_decoder_new()
255 decoder->pgd_ip = params->pgd_ip; in intel_pt_decoder_new()
256 decoder->lookahead = params->lookahead; in intel_pt_decoder_new()
257 decoder->data = params->data; in intel_pt_decoder_new()
258 decoder->return_compression = params->return_compression; in intel_pt_decoder_new()
259 decoder->branch_enable = params->branch_enable; in intel_pt_decoder_new()
260 decoder->hop = params->quick >= 1; in intel_pt_decoder_new()
[all …]
Dintel-pt-decoder.h260 struct intel_pt_decoder *intel_pt_decoder_new(struct intel_pt_params *params);
/tools/testing/selftests/bpf/
Dtest_offload.py144 params = ""
146 params += "%s " % (flags["json"])
152 ret, stdout, stderr = cmd(ns + name + " " + params + args,
155 ret, stdout = cmd(ns + name + " " + params + args,
545 chain=None, cls="", params="", argument
557 cls=cls, params=params),
566 params = ""
568 params += " da"
570 params += " verbose"
572 params += " skip_sw"
[all …]
/tools/perf/util/
Dintel-pt.c1003 struct intel_pt_params params = { .get_trace = 0, }; in intel_pt_alloc_queue() local
1037 params.get_trace = intel_pt_get_trace; in intel_pt_alloc_queue()
1038 params.walk_insn = intel_pt_walk_next_insn; in intel_pt_alloc_queue()
1039 params.lookahead = intel_pt_lookahead; in intel_pt_alloc_queue()
1040 params.data = ptq; in intel_pt_alloc_queue()
1041 params.return_compression = intel_pt_return_compression(pt); in intel_pt_alloc_queue()
1042 params.branch_enable = intel_pt_branch_enable(pt); in intel_pt_alloc_queue()
1043 params.ctl = intel_pt_ctl(pt); in intel_pt_alloc_queue()
1044 params.max_non_turbo_ratio = pt->max_non_turbo_ratio; in intel_pt_alloc_queue()
1045 params.mtc_period = intel_pt_mtc_period(pt); in intel_pt_alloc_queue()
[all …]
Darm-spe.c183 struct arm_spe_params params = { .get_trace = 0, }; in arm_spe__alloc_queue() local
201 params.get_trace = arm_spe_get_trace; in arm_spe__alloc_queue()
202 params.data = speq; in arm_spe__alloc_queue()
205 speq->decoder = arm_spe_decoder_new(&params); in arm_spe__alloc_queue()
/tools/testing/kunit/
Dkunit_kernel.py98 def linux_bin(self, params, timeout, build_dir): argument
105 process = subprocess.Popen([linux_bin] + params,
/tools/perf/bench/
Dnuma.c74 struct params { struct
159 struct params p;
167 struct params p0;
1699 static void init_params(struct params *p, const char *name, int argc, const char **argv) in init_params()
/tools/perf/Documentation/
Dperf-probe.txt200params' special arguments are also available for NAME, '$vars' is expanded to the local variables …
Dperf-record.txt53 These params can be used to overload default config values per event.
75 Note: If user explicitly sets options which conflict with the params,
Dperf-script-python.txt124 # in the format files. Those fields not available as handler params can
/tools/include/uapi/linux/
Dkvm.h205 __u64 params[2]; member
1175 __u64 params; member
/tools/lib/traceevent/
Devent-parse.c100 struct func_params *params; member
4248 param = func_handle->params; in process_defined_func()
7149 struct func_params *params; in free_func_handle() local
7153 while (func->params) { in free_func_handle()
7154 params = func->params; in free_func_handle()
7155 func->params = params->next; in free_func_handle()
7156 free(params); in free_func_handle()
7215 next_param = &(func_handle->params); in tep_register_print_function()