Searched refs:tbl (Results 1 – 10 of 10) sorted by relevance
/tools/perf/util/ |
D | syscalltbl.c | 59 static int syscalltbl__init_native(struct syscalltbl *tbl) in syscalltbl__init_native() argument 68 entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); in syscalltbl__init_native() 69 if (tbl->syscalls.entries == NULL) in syscalltbl__init_native() 80 qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); in syscalltbl__init_native() 81 tbl->syscalls.nr_entries = nr_entries; in syscalltbl__init_native() 82 tbl->syscalls.max_id = syscalltbl_native_max_id; in syscalltbl__init_native() 88 struct syscalltbl *tbl = malloc(sizeof(*tbl)); in syscalltbl__new() local 89 if (tbl) { in syscalltbl__new() 90 if (syscalltbl__init_native(tbl)) { in syscalltbl__new() 91 free(tbl); in syscalltbl__new() [all …]
|
D | syscalltbl.h | 15 void syscalltbl__delete(struct syscalltbl *tbl); 17 const char *syscalltbl__name(const struct syscalltbl *tbl, int id); 18 int syscalltbl__id(struct syscalltbl *tbl, const char *name); 20 int syscalltbl__strglobmatch_first(struct syscalltbl *tbl, const char *syscall_glob, int *idx); 21 int syscalltbl__strglobmatch_next(struct syscalltbl *tbl, const char *syscall_glob, int *idx);
|
D | dwarf-regs.c | 28 #define __get_dwarf_regstr(tbl, n) (((n) < ARRAY_SIZE(tbl)) ? (tbl)[(n)] : NULL) argument
|
/tools/perf/arch/powerpc/util/ |
D | kvm-stat.c | 47 struct exit_reasons_table *tbl = hcall_reasons; in get_hcall_exit_reason() local 49 while (tbl->reason != NULL) { in get_hcall_exit_reason() 50 if (tbl->exit_code == exit_code) in get_hcall_exit_reason() 51 return tbl->reason; in get_hcall_exit_reason() 52 tbl++; in get_hcall_exit_reason()
|
/tools/perf/arch/x86/ |
D | Makefile | 21 $(header): $(sys)/syscall_64.tbl $(systbl) 22 $(Q)$(SHELL) '$(systbl)' $(sys)/syscall_64.tbl 'x86_64' > $@
|
/tools/perf/arch/s390/ |
D | Makefile | 15 syskrn := $(srctree)/arch/s390/kernel/syscalls/syscall.tbl 17 sysdef := $(sysprf)/syscall.tbl
|
/tools/perf/arch/powerpc/ |
D | Makefile | 17 syskrn := $(srctree)/arch/powerpc/kernel/syscalls/syscall.tbl 19 sysdef := $(sysprf)/syscall.tbl
|
/tools/perf/ |
D | check-headers.sh | 153 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
|
D | builtin-kvm.c | 104 struct exit_reasons_table *tbl, in get_exit_reason() argument 107 while (tbl->reason != NULL) { in get_exit_reason() 108 if (tbl->exit_code == exit_code) in get_exit_reason() 109 return tbl->reason; in get_exit_reason() 110 tbl++; in get_exit_reason()
|
/tools/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 160 function print_table(tbl,name,fmt,n) 165 if (tbl[id]) 166 print " [" id "] = " tbl[id] ","
|