Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 173) sorted by relevance

1234567

/tools/perf/util/
Dstring.c24 s64 perf_atoll(const char *str) in perf_atoll()
111 static bool __match_glob(const char *str, const char *pat, bool ignore_space, in __match_glob()
171 bool strglobmatch(const char *str, const char *pat) in strglobmatch()
176 bool strglobmatch_nocase(const char *str, const char *pat) in strglobmatch_nocase()
189 bool strlazymatch(const char *str, const char *pat) in strlazymatch()
252 char *strpbrk_esc(char *str, const char *stopset) in strpbrk_esc()
268 char *strdup_esc(const char *str) in strdup_esc()
Dcomm.c13 char *str; member
41 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc()
61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew()
97 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew()
108 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new()
127 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override()
Dparse-regs-options.c13 __parse_regs(const struct option *opt, const char *str, int unset, bool intr) in __parse_regs()
90 parse_user_regs(const struct option *opt, const char *str, int unset) in parse_user_regs()
96 parse_intr_regs(const struct option *opt, const char *str, int unset) in parse_intr_regs()
Dexpr.l13 static double __value(YYSTYPE *yylval, char *str, int token) in __value()
38 static char *normalize(char *str, int runtime) in normalize()
70 static int str(yyscan_t scanner, int token, int runtime) in str() function
Dparse-sublevel-options.c9 static int parse_one_sublevel_option(const char *str, in parse_one_sublevel_option()
46 int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts) in perf_parse_sublevel_options()
Dtime-utils.c18 int parse_nsec_time(const char *str, u64 *ptime) in parse_nsec_time()
70 char *d, *str; in split_start_end() local
124 char *str, *arg, *p; in perf_time__parse_strs() local
180 static int parse_percent(double *pcnt, char *str) in parse_percent()
218 static int percent_slash_split(char *str, struct perf_time_interval *ptime, in percent_slash_split()
253 static int percent_dash_split(char *str, struct perf_time_interval *ptime, in percent_dash_split()
286 char *str, *p1, *p2; in percent_comma_split() local
330 char *str; in one_percent_convert() local
Dcgroup.c93 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) in evlist__find_cgroup()
145 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup()
252 static int list_cgroups(const char *str) in list_cgroups()
292 static int match_cgroups(const char *str) in match_cgroups()
351 int parse_cgroups(const struct option *opt, const char *str, in parse_cgroups()
403 static bool has_pattern_string(const char *str) in has_pattern_string()
408 int evlist__expand_cgroup(struct evlist *evlist, const char *str, in evlist__expand_cgroup()
Dparse-branch-options.c38 int parse_branch_str(const char *str, __u64 *mode) in parse_branch_str()
94 parse_branch_stack(const struct option *opt, const char *str, int unset) in parse_branch_stack()
Dparse-events.c197 char *str, char *help) in parse_events__handle_error()
304 char *str = strchr(name, ':'); in tracepoint_name_to_path() local
443 static int parse_aliases(char *str, const char *names[][EVSEL__MAX_ALIASES], int size) in parse_aliases()
498 char *str = op_result[i]; in parse_events_add_cache() local
560 const char *str; in tracepoint_error() local
1659 char *str, struct list_head **listp) in parse_events_multi_pmu_add()
1882 static int get_event_modifier(struct event_modifier *mod, char *str, in get_event_modifier()
1987 static int check_modifier(char *str) in check_modifier()
2004 int parse_events__modifier_event(struct list_head *list, char *str, bool add) in parse_events__modifier_event()
2080 #define SET_SYMBOL(str, stype) \ argument
[all …]
Ddemangle-rust.c100 static bool is_prefixed_hash(const char *str) in is_prefixed_hash()
129 static bool looks_like_rust(const char *str, size_t len) in looks_like_rust()
Ddemangle-java.c45 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) in __demangle_java_sym()
158 java_demangle_sym(const char *str, int flags) in java_demangle_sym()
/tools/perf/
Dbuiltin-probe.c53 static int parse_probe_event(const char *str) in parse_probe_event()
81 static int params_add_filter(const char *str) in params_add_filter()
167 static int opt_set_target(const struct option *opt, const char *str, in opt_set_target()
203 const char *str, int unset __maybe_unused) in opt_set_target_ns()
234 const char *str, int unset __maybe_unused) in opt_show_lines()
254 const char *str, int unset __maybe_unused) in opt_show_vars()
276 const char *str, int unset __maybe_unused) in opt_add_probe_event()
287 const char *str, int unset) in opt_set_filter_with_command()
299 const char *str, int unset __maybe_unused) in opt_set_filter()
426 char *str = strfilter__string(filter); in perf_del_probe_events() local
Dbuiltin-ftrace.c185 void (*cb)(char *str, void *arg), in read_tracing_file_by_line()
716 static void list_function_cb(char *str, void *arg) in list_function_cb()
725 const char *str, int unset) in opt_list_avail_functions()
756 static int parse_filter_func(const struct option *opt, const char *str, in parse_filter_func()
783 const char *str, int unset) in parse_buffer_size()
814 const char *str, int unset) in parse_func_tracer_opts()
835 const char *str, int unset) in parse_graph_tracer_opts()
/tools/testing/kunit/
Dkunit_kernel.py50 def __init__(self, linux_arch: str, cross_compile: Optional[str]):
113 def __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]):
200 def get_source_tree_ops(arch: str, cross_compile: Optional[str]) -> LinuxSourceTreeOperations:
209 def get_source_tree_ops_from_qemu_config(config_path: str,
210 cross_compile: Optional[str]) -> Tuple[
235 build_dir: str,
Dkunit_config.py60 def write_to_file(self, path: str) -> None:
65 def parse_from_string(self, blob: str) -> None:
92 def read_from_file(self, path: str) -> None:
Dkunit.py202 def massage_argv(argv: Sequence[str]) -> Sequence[str]:
203 def massage_arg(arg: str) -> str:
/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c248 size_t ptr_sz, char *str, const char *expected_val) in btf_dump_data()
328 char *str) in test_btf_dump_int_data()
371 char *str) in test_btf_dump_float_data()
416 char *str) in test_btf_dump_char_data()
438 char *str) in test_btf_dump_typedef_data()
493 char *str) in test_btf_dump_enum_data()
529 char *str) in test_btf_dump_struct_data()
764 char *str) in test_btf_dump_var_data()
772 static void test_btf_datasec(struct btf *btf, struct btf_dump *d, char *str, in test_btf_datasec()
798 static void test_btf_dump_datasec_data(char *str) in test_btf_dump_datasec_data()
[all …]
/tools/testing/vsock/
Dcontrol.c114 void control_writeln(const char *str) in control_writeln()
203 void control_expectln(const char *str) in control_expectln()
214 bool control_cmpln(char *line, const char *str, bool fail) in control_cmpln()
/tools/perf/tests/
Dbitmap.c11 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
29 static int test_bitmap(const char *str) in test_bitmap()
/tools/lib/
Dargv_split.c19 static int count_argc(const char *str) in count_argc()
63 char **argv_split(const char *str, int *argcp) in argv_split()
/tools/bpf/bpftool/
Dnetlink_dumper.h79 #define NET_DUMP_STR(name, fmt_str, str) \ argument
87 #define NET_DUMP_STR_ONLY(str) \ argument
/tools/testing/selftests/arm64/mte/
Dcheck_ksm_options.c26 static unsigned long read_sysfs(char *str) in read_sysfs()
44 static void write_sysfs(char *str, unsigned long val) in write_sysfs()
/tools/include/linux/
Drefcount.h45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument
48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument
Dstring.h40 static inline bool strstarts(const char *str, const char *prefix) in strstarts()
/tools/iio/
Dlsiio.c28 static inline int check_prefix(const char *str, const char *prefix) in check_prefix()
34 static inline int check_postfix(const char *str, const char *postfix) in check_postfix()

1234567