Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 9 of 9) sorted by relevance

/tools/lib/traceevent/
Devent-plugin.c113 struct registered_plugin_options *reg; in traceevent_plugin_list_options() local
119 for (reg = registered_options; reg; reg = reg->next) { in traceevent_plugin_list_options()
120 for (op = reg->options; op->name; op++) { in traceevent_plugin_list_options()
227 struct registered_plugin_options *reg; in traceevent_plugin_add_options() local
229 reg = malloc(sizeof(*reg)); in traceevent_plugin_add_options()
230 if (!reg) in traceevent_plugin_add_options()
232 reg->next = registered_options; in traceevent_plugin_add_options()
233 reg->options = options; in traceevent_plugin_add_options()
234 registered_options = reg; in traceevent_plugin_add_options()
250 struct registered_plugin_options *reg; in traceevent_plugin_remove_options() local
[all …]
Dparse-filter.c219 regfree(&arg->str.reg); in free_arg()
275 char *reg; in find_event() local
285 reg = malloc(strlen(event_name) + 3); in find_event()
286 if (reg == NULL) in find_event()
289 sprintf(reg, "^%s$", event_name); in find_event()
291 ret = regcomp(&ereg, reg, REG_ICASE|REG_NOSUB); in find_event()
292 free(reg); in find_event()
298 reg = malloc(strlen(sys_name) + 3); in find_event()
299 if (reg == NULL) { in find_event()
304 sprintf(reg, "^%s$", sys_name); in find_event()
[all …]
Devent-parse.h894 regex_t reg; member
/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c87 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) in trace_log_reg() argument
92 e = trace_alloc_entry(tb, sizeof(reg) + sizeof(value)); in trace_log_reg()
98 *p++ = reg; in trace_log_reg()
173 static char *trace_decode_reg(int reg) in trace_decode_reg() argument
175 switch (reg) { in trace_decode_reg()
202 u64 *p, *reg, *value; in trace_print_reg() local
206 reg = p++; in trace_print_reg()
209 name = trace_decode_reg(*reg); in trace_print_reg()
213 printf("register %lld = 0x%016llx\n", *reg, *value); in trace_print_reg()
Debb_handler.S72 #define LOAD_REG_IMMEDIATE(reg,expr) \ argument
73 lis reg,(expr)@highest; \
74 ori reg,reg,(expr)@higher; \
75 rldicr reg,reg,32,31; \
76 oris reg,reg,(expr)@h; \
77 ori reg,reg,(expr)@l;
Dtrace.h33 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value);
/tools/power/cpupower/utils/helpers/
Dcpuid.c23 #define cpuid_func(reg) \ argument
24 unsigned int cpuid_##reg(unsigned int op) \
28 return reg; \
/tools/lguest/
Dlguest.c1275 static struct device *dev_and_reg(u32 *reg) in dev_and_reg() argument
1289 *reg = pci_config_addr.bits.offset; in dev_and_reg()
1363 u32 reg, portoff; in pci_data_iowrite() local
1364 struct device *d = dev_and_reg(&reg); in pci_data_iowrite()
1377 if (&d->config_words[reg] == &d->config.bar[0]) { in pci_data_iowrite()
1384 } else if ((&d->config_words[reg] > &d->config.bar[0] in pci_data_iowrite()
1385 && &d->config_words[reg] <= &d->config.bar[6]) in pci_data_iowrite()
1386 || &d->config_words[reg] == &d->config.expansion_rom_addr) { in pci_data_iowrite()
1388 iowrite(portoff, val, mask, &d->config_words[reg]); in pci_data_iowrite()
1391 } else if (&d->config_words[reg] == (void *)&d->config.cacheline_size) { in pci_data_iowrite()
[all …]
/tools/perf/util/intel-pt-decoder/
Dx86-opcode-map.txt18 # reg: mnemonic [operand1[,operand2...]] [(extra1)[,(extra2)...] [| 2nd-mnemonic ...]