Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 135) sorted by relevance

123456

/tools/perf/trace/beauty/
Dmmap_prot.sh16 prefix="PROT"
19 …pace:]]*define[[:space:]]+%s_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' ${prefix}`
24 …xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n…
29 …xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n…
Dseccomp.c12 const char *prefix = "SECCOMP_SET_MODE_"; in syscall_arg__scnprintf_seccomp_op() local
17 …e SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n); break in syscall_arg__scnprintf_seccomp_op()
37 const char *prefix = "SECCOMP_FILTER_FLAG_"; in syscall_arg__scnprintf_seccomp_flags() local
42 …rintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_seccomp_flags()
Dstatx.c17 const char *prefix = "AT_"; in syscall_arg__scnprintf_statx_flags() local
24 …nprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_statx_flags()
47 const char *prefix = "STATX_"; in syscall_arg__scnprintf_statx_mask() local
52 …nprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_statx_mask()
Dsched_policy.c21 const char *prefix = "SCHED_"; in syscall_arg__scnprintf_sched_policy() local
31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); in syscall_arg__scnprintf_sched_policy()
37 printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_sched_policy()
Dopen_flags.c27 const char *prefix = "O_"; in open__scnprintf_flags() local
31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); in open__scnprintf_flags()
36 …rintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in open__scnprintf_flags()
63 …ntf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", "SYNC"); in open__scnprintf_flags()
Dfutex_op.c23 const char *prefix = "FUTEX_"; in syscall_arg__scnprintf_futex_op() local
37 #define P_FUTEX_OP(n) case FUTEX_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : … in syscall_arg__scnprintf_futex_op()
55 …printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "PRIVATE_FL… in syscall_arg__scnprintf_futex_op()
58 …printed += scnprintf(bf + printed, size - printed, "|%s%s", show_prefix ? prefix : "", "CLOCK_REAL… in syscall_arg__scnprintf_futex_op()
Dfutex_val3.c10 const char *prefix = "FUTEX_BITSET_"; in syscall_arg__scnprintf_futex_val3() local
14 return scnprintf(bf, size, "%s%s", arg->show_string_prefix ? prefix : "", "MATCH_ANY"); in syscall_arg__scnprintf_futex_val3()
Dx86_arch_prctl.sh11 local prefix=$2
16 …e:]]*#[[:space:]]*define[[:space:]]+ARCH_([[:alnum:]_]+)[[:space:]]+(%s[[:xdigit:]]+).*' ${prefix}`
/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c168 static void trace_print_header(int seq, int prefix) in trace_print_header() argument
170 printf("%*s[%d]: ", prefix, "", seq); in trace_print_header()
235 static void trace_print_entry(struct trace_entry *e, int seq, int *prefix) in trace_print_entry() argument
239 trace_print_header(seq, *prefix); in trace_print_entry()
243 trace_print_header(seq, *prefix); in trace_print_entry()
247 trace_print_header(seq, *prefix); in trace_print_entry()
251 trace_print_header(seq, *prefix); in trace_print_entry()
253 *prefix += PREFIX_DELTA; in trace_print_entry()
256 *prefix -= PREFIX_DELTA; in trace_print_entry()
257 if (*prefix < BASE_PREFIX) in trace_print_entry()
[all …]
/tools/lib/
Dstring.c196 unsigned int words, prefix; in memchr_inv() local
206 prefix = (unsigned long)start % 8; in memchr_inv()
207 if (prefix) { in memchr_inv()
210 prefix = 8 - prefix; in memchr_inv()
211 r = check_bytes8(start, value, prefix); in memchr_inv()
214 start += prefix; in memchr_inv()
215 bytes -= prefix; in memchr_inv()
/tools/include/linux/
Dbtf_ids.h40 #define __ID(prefix) \ argument
41 __PASTE(__PASTE(prefix, __COUNTER__), __LINE__)
47 #define BTF_ID(prefix, name) \ argument
48 __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__))
82 #define BTF_ID_LIST_SINGLE(name, prefix, typename) \ argument
84 BTF_ID(prefix, typename)
147 #define BTF_ID(prefix, name) argument
150 #define BTF_ID_LIST_SINGLE(name, prefix, typename) static u32 name[1]; argument
Dcompiler.h12 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument
14 extern void prefix ## suffix(void) __compiletime_error(msg); \
16 prefix ## suffix(); \
19 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument
22 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
23 __compiletime_assert(condition, msg, prefix, suffix)
Dstring.h40 static inline bool strstarts(const char *str, const char *prefix) in strstarts() argument
42 return strncmp(str, prefix, strlen(prefix)) == 0; in strstarts()
/tools/perf/util/
Dstat-display.c148 const char *prefix; member
169 fputs(os->prefix, os->fh); in do_new_line_std()
209 if (os->prefix) in new_line_csv()
210 fprintf(os->fh, "%s", os->prefix); in new_line_csv()
410 char *prefix, u64 run, u64 ena, double noise, in printout() argument
416 .prefix = prefix ? prefix : "", in printout()
668 char *prefix, bool metric_only, in print_counter_aggrdata() argument
695 if (prefix && !metric_only) in print_counter_aggrdata()
696 fprintf(output, "%s", prefix); in print_counter_aggrdata()
704 prefix, run, ena, 1.0, &rt_stat); in print_counter_aggrdata()
[all …]
Djitdump.c148 struct jr_prefix *prefix; in jit_open() local
159 bsz = hmax(sizeof(header), sizeof(*prefix)); in jit_open()
256 struct jr_prefix *prefix; in jit_get_next_entry() local
267 if (sz < sizeof(*prefix)) in jit_get_next_entry()
268 sz = sizeof(*prefix); in jit_get_next_entry()
277 prefix = jd->buf; in jit_get_next_entry()
282 ret = fread(prefix, sizeof(*prefix), 1, jd->in); in jit_get_next_entry()
287 prefix->id = bswap_32(prefix->id); in jit_get_next_entry()
288 prefix->total_size = bswap_32(prefix->total_size); in jit_get_next_entry()
289 prefix->timestamp = bswap_64(prefix->timestamp); in jit_get_next_entry()
[all …]
/tools/gpio/
Dgpio-utils.h21 static inline int check_prefix(const char *str, const char *prefix) in check_prefix() argument
23 return strlen(str) > strlen(prefix) && in check_prefix()
24 strncmp(str, prefix, strlen(prefix)) == 0; in check_prefix()
/tools/lib/traceevent/Documentation/
DMakefile22 prefix?=$(HOME) macro
24 bindir?=$(prefix)/bin
25 htmldir?=$(prefix)/share/doc/libtraceevent-doc
26 pdfdir?=$(prefix)/share/doc/libtraceevent-doc
27 mandir?=$(prefix)/share/man
/tools/lib/perf/
Dlibperf.pc.template3 prefix=@PREFIX@
5 includedir=${prefix}/include
DMakefile192 $(call do_install,include/perf/core.h,$(prefix)/include/perf,644); \
193 $(call do_install,include/perf/cpumap.h,$(prefix)/include/perf,644); \
194 $(call do_install,include/perf/threadmap.h,$(prefix)/include/perf,644); \
195 $(call do_install,include/perf/evlist.h,$(prefix)/include/perf,644); \
196 $(call do_install,include/perf/evsel.h,$(prefix)/include/perf,644); \
197 $(call do_install,include/perf/event.h,$(prefix)/include/perf,644); \
198 $(call do_install,include/perf/mmap.h,$(prefix)/include/perf,644);
/tools/lib/bpf/
Dlibbpf.pc.template3 prefix=@PREFIX@
5 includedir=${prefix}/include
/tools/perf/arch/x86/util/
Dperf_regs.c214 char prefix[3] = {0}; in arch_sdt_arg_parse_op() local
245 prefix[0] = *(old_op + rm[1].rm_so); in arch_sdt_arg_parse_op()
247 prefix[0] = '+'; in arch_sdt_arg_parse_op()
249 scnprintf(prefix, sizeof(prefix), "+0"); in arch_sdt_arg_parse_op()
257 new_len = strlen(prefix) + in arch_sdt_arg_parse_op()
269 strlen(prefix), prefix, in arch_sdt_arg_parse_op()
/tools/bpf/bpftool/Documentation/
Dbpftool-feature.rst22 | **bpftool** **feature probe** [*COMPONENT*] [**full**] [**unprivileged**] [**macros** [**prefix**…
29 **bpftool feature probe** [**kernel**] [**full**] [**macros** [**prefix** *PREFIX*]]
43 header file, for example. If, additionally, **prefix** is
45 as a prefix to the names of the macros: this can be used to
62 **bpftool feature probe dev** *NAME* [**full**] [**macros** [**prefix** *PREFIX*]]
66 The keywords **full**, **macros** and **prefix** have the
/tools/lib/subcmd/
Dhelp.c169 const char *prefix) in list_commands_in_dir() argument
178 if (!prefix) in list_commands_in_dir()
179 prefix = "perf-"; in list_commands_in_dir()
180 prefix_len = strlen(prefix); in list_commands_in_dir()
187 if (!strstarts(de->d_name, prefix)) in list_commands_in_dir()
204 void load_command_list(const char *prefix, in load_command_list() argument
212 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list()
225 list_commands_in_dir(other_cmds, path, prefix); in load_command_list()
/tools/iio/
Dlsiio.c28 static inline int check_prefix(const char *str, const char *prefix) in check_prefix() argument
30 return strlen(str) > strlen(prefix) && in check_prefix()
31 strncmp(str, prefix, strlen(prefix)) == 0; in check_prefix()
/tools/tracing/latency/
DMakefile19 prefix ?= /usr/local macro
20 sbindir ?= ${prefix}/sbin

123456