/tools/perf/util/ |
D | help-unknown-cmd.c | 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list() 46 cmds->names = tmp; in add_cmd_list() 49 cmds->names[cmds->cnt++] = old->names[i]; in add_cmd_list() 50 zfree(&old->names); in add_cmd_list() 71 qsort(main_cmds.names, main_cmds.cnt, in help_unknown_cmd() 72 sizeof(main_cmds.names), cmdname_compare); in help_unknown_cmd() 78 main_cmds.names[i]->len = in help_unknown_cmd() 79 levenshtein(cmd, main_cmds.names[i]->name, 0, 2, 1, 4); in help_unknown_cmd() 81 qsort(main_cmds.names, main_cmds.cnt, in help_unknown_cmd() 82 sizeof(*main_cmds.names), levenshtein_compare); in help_unknown_cmd() [all …]
|
/tools/lib/subcmd/ |
D | help.c | 24 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); in add_cmdname() 25 cmds->names[cmds->cnt++] = ent; in add_cmdname() 33 zfree(&cmds->names[i]); in clean_cmdnames() 34 zfree(&cmds->names); in clean_cmdnames() 54 if (!strcmp(cmds->names[i]->name, cmds->names[i-1]->name)) in uniq() 55 zfree(&cmds->names[i - 1]); in uniq() 58 if (cmds->names[i]) { in uniq() 62 cmds->names[j++] = cmds->names[i]; in uniq() 67 cmds->names[j++] = NULL; in uniq() 77 cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); in exclude_cmds() [all …]
|
D | help.h | 14 } **names; member
|
/tools/perf/ui/browsers/ |
D | res_sample.c | 34 char **names; in res_sample_browse() local 44 names = calloc(num_res, sizeof(char *)); in res_sample_browse() 45 if (!names) in res_sample_browse() 51 if (asprintf(&names[i], "%s: CPU %d tid %d", tbuf, in res_sample_browse() 54 zfree(&names[i]); in res_sample_browse() 55 free(names); in res_sample_browse() 59 choice = ui__popup_menu(num_res, names, NULL); in res_sample_browse() 61 zfree(&names[i]); in res_sample_browse() 62 free(names); in res_sample_browse()
|
D | scripts.c | 27 const char **names; member 52 c->names[c->index] = name; in add_script_option() 70 c->names[c->index] = strdup(var + 7); in scripts_config() 71 if (!c->names[c->index]) in scripts_config() 88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local 95 .names = (const char **)names, in list_scripts() 121 names[i] = buf + (i - max_std) * (SCRIPT_NAMELEN + SCRIPT_FULLPATH_LEN); in list_scripts() 122 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts() 125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts() 129 choice = ui__popup_menu(num + max_std, (char * const *)names, NULL); in list_scripts()
|
/tools/testing/selftests/net/ |
D | hwtstamp_config.c | 20 lookup_value(const char **names, int size, const char *name) in lookup_value() argument 25 if (names[value] && strcasecmp(names[value], name) == 0) in lookup_value() 32 lookup_name(const char **names, int size, int value) in lookup_name() argument 34 return (value >= 0 && value < size) ? names[value] : NULL; in lookup_name() 37 static void list_names(FILE *f, const char **names, int size) in list_names() argument 42 if (names[value]) in list_names() 43 fprintf(f, " %s\n", names[value]); in list_names()
|
/tools/perf/tests/ |
D | evsel-roundtrip-name.c | 67 static int __perf_evsel__name_array_test(const char *names[], int nr_names, in __perf_evsel__name_array_test() argument 78 err = parse_events(evlist, names[i], NULL); in __perf_evsel__name_array_test() 81 names[i], err); in __perf_evsel__name_array_test() 88 if (strcmp(evsel__name(evsel), names[evsel->core.idx / distance])) { in __perf_evsel__name_array_test() 90 pr_debug("%s != %s\n", evsel__name(evsel), names[evsel->core.idx / distance]); in __perf_evsel__name_array_test() 99 #define perf_evsel__name_array_test(names, distance) \ argument 100 __perf_evsel__name_array_test(names, ARRAY_SIZE(names), distance)
|
/tools/perf/Documentation/ |
D | perf-evlist.txt | 6 perf-evlist - List the event names in a perf.data file 15 This command displays the names of events sampled in a perf.data file. 40 Show tracepoint field names.
|
D | db-export.txt | 23 used so long as the names and meanings (and to some extent data types) remain 27 so long as the new names are unique.
|
D | perf-annotate.txt | 124 Remove first N entries from source file path names in executables 135 Demangle symbol names to human readable form. It's enabled by default, 139 Demangle kernel symbol names to human readable form (for C++ kernels).
|
/tools/usb/usbip/libsrc/ |
D | Makefile.am | 7 libusbip_la_SOURCES := names.c names.h usbip_host_driver.c usbip_host_driver.h \
|
/tools/testing/selftests/vDSO/ |
D | vdso_config.h | 71 static const char *names[2][6] = { variable
|
D | vdso_test_abi.c | 189 name = (const char **)&names[VDSO_NAMES]; in main()
|
/tools/usb/usbip/ |
D | .gitignore | 25 libsrc/libusbip_la-names.lo
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-feature.rst | 45 as a prefix to the names of the macros: this can be used to 46 avoid conflicts on macro names when including the output of
|
/tools/power/pm-graph/config/ |
D | cgskip.txt | 8 # adding or removing function symbol names.
|
/tools/firewire/ |
D | decode-fcp.c | 52 struct avc_enum *names; member
|
/tools/bpf/bpftool/ |
D | common.c | 296 static const char * const names[] = { in get_fd_type_name() local 302 if (type < 0 || type >= ARRAY_SIZE(names) || !names[type]) in get_fd_type_name() 303 return names[BPF_OBJ_UNKNOWN]; in get_fd_type_name() 305 return names[type]; in get_fd_type_name()
|
D | btf.c | 653 static const char * const names[] = { in build_btf_type_table() local 681 p_err("can't get next %s: %s%s", names[type], in build_btf_type_table() 702 p_err("can't get %s by id (%u): %s", names[type], id, in build_btf_type_table() 712 p_err("can't get %s info: %s", names[type], in build_btf_type_table()
|
/tools/virtio/virtio-trace/ |
D | README | 48 For example, if a guest use three CPUs, the names are 82 Here, chardev names are restricted to trace-path-cpuX and agent-ctl-path. For 83 example, if a guest use three CPUs, chardev names should be trace-path-cpu0,
|
/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 143 static const char *const names[] = { in display_event() local 160 printf("Event %s\n", names[event->type]); in display_event()
|
/tools/testing/selftests/kexec/ |
D | test_kexec_file_load.sh | 85 line=$(getfattr -n security.ima -e hex --absolute-names $KERNEL_IMAGE 2>&1)
|
/tools/testing/selftests/filesystems/fuse/ |
D | fuse_test.c | 350 static const char * const names[] = { in bpf_test_readdir() local 353 bool used[ARRAY_SIZE(names)] = { false }; in bpf_test_readdir() 364 TESTEQUAL(create_file(src_fd, s(names[0]), 1, 2), 0); in bpf_test_readdir() 365 TESTEQUAL(create_file(src_fd, s(names[1]), 1, 2), 0); in bpf_test_readdir() 377 for (i = 0; i < ARRAY_SIZE(names); ++i) { in bpf_test_readdir() 380 for (j = 0; j < ARRAY_SIZE(names); ++j) in bpf_test_readdir() 382 strcmp(names[j], dirent->d_name) == 0) { in bpf_test_readdir() 386 TESTNE(j, ARRAY_SIZE(names)); in bpf_test_readdir() 441 static const char * const names[] = { in bpf_test_redact_readdir() local 444 bool used[ARRAY_SIZE(names)] = { false }; in bpf_test_redact_readdir() [all …]
|
/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 155 static const char *const names[] = { in display_event() local 172 printf("Event %s\n", names[event->type]); in display_event()
|
/tools/memory-model/Documentation/ |
D | ordering.txt | 62 o Value-returning RMW atomic operations whose names do not end in 84 with non-void return types) whose names do not end in _acquire, _release, 102 value-returning RMW atomic operations whose names end in _relaxed. 109 Value-returning RMW atomic operations whose names end in _acquire or 262 rcu_assign_pointer(), and value-returning RMW operations whose names 305 o Value-returning RMW operations whose names end in _release, 321 and value-returning RMW operations whose names end in _acquire. These 342 o Value-returning RMW operations whose names end in _acquire, 476 RMW atomic operations whose names do not end in _acquire or 477 _release, and also value-returning RMW operations whose names
|