Home
last modified time | relevance | path

Searched defs:args (Results 1 – 25 of 150) sorted by relevance

123456

/tools/testing/selftests/bpf/prog_tests/
Dsyscall.c6 struct args { struct
18 struct args ctx = { in test_syscall() argument
/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c46 static struct scripting_context *get_args(PyObject *args, const char *name, PyObject **arg2) in get_args()
57 static struct scripting_context *get_scripting_context(PyObject *args) in get_scripting_context()
62 static PyObject *perf_trace_context_common_pc(PyObject *obj, PyObject *args) in perf_trace_context_common_pc()
73 PyObject *args) in perf_trace_context_common_flags()
84 PyObject *args) in perf_trace_context_common_lock_depth()
94 static PyObject *perf_sample_insn(PyObject *obj, PyObject *args) in perf_sample_insn()
111 static PyObject *perf_set_itrace_options(PyObject *obj, PyObject *args) in perf_set_itrace_options()
137 static PyObject *perf_sample_src(PyObject *obj, PyObject *args, bool get_srccode) in perf_sample_src()
170 static PyObject *perf_sample_srcline(PyObject *obj, PyObject *args) in perf_sample_srcline()
175 static PyObject *perf_sample_srccode(PyObject *obj, PyObject *args) in perf_sample_srccode()
/tools/perf/examples/bpf/
Daugmented_raw_syscalls.c54 unsigned long args[6]; member
72 struct syscall_enter_args args; member
90 static inline int augmented__output(void *ctx, struct augmented_args_payload *args, int len) in augmented__output()
124 int syscall_unaugmented(struct syscall_enter_args *args) in syscall_unaugmented()
136 int sys_enter_connect(struct syscall_enter_args *args) in sys_enter_connect()
155 int sys_enter_sendto(struct syscall_enter_args *args) in sys_enter_sendto()
174 int sys_enter_open(struct syscall_enter_args *args) in sys_enter_open()
189 int sys_enter_openat(struct syscall_enter_args *args) in sys_enter_openat()
204 int sys_enter_rename(struct syscall_enter_args *args) in sys_enter_rename()
221 int sys_enter_renameat(struct syscall_enter_args *args) in sys_enter_renameat()
[all …]
/tools/testing/selftests/tc-testing/
Dtdc.py84 def load_required_plugins(self, reqs, parser, args, remaining): argument
153 def call_check_args(self, args, remaining): argument
162 def set_args(self, args): argument
166 def _make_argparser(args): argument
180 def exec_cmd(args, pm, stage, command): argument
214 def prepare_env(args, pm, stage, prefix, cmdlist, output = None): argument
249 def run_one_test(pm, args, index, tidx): argument
320 def test_runner(pm, args, filtered_tests): argument
513 def check_default_settings(args, remaining, pm): argument
590 def filter_tests_by_id(args, testlist): argument
[all …]
/tools/testing/selftests/bpf/progs/
Dsyscall.c12 struct args { struct
13 __u64 log_buf;
14 __u32 log_size;
15 int max_entries;
16 int map_fd;
17 int prog_fd;
18 int btf_fd;
/tools/lib/bpf/
Dbpf_helpers.h182 #define ___bpf_fill2(arr, p, x, args...) arr[p] = x; ___bpf_fill1(arr, p + 1, args) argument
183 #define ___bpf_fill3(arr, p, x, args...) arr[p] = x; ___bpf_fill2(arr, p + 1, args) argument
184 #define ___bpf_fill4(arr, p, x, args...) arr[p] = x; ___bpf_fill3(arr, p + 1, args) argument
185 #define ___bpf_fill5(arr, p, x, args...) arr[p] = x; ___bpf_fill4(arr, p + 1, args) argument
186 #define ___bpf_fill6(arr, p, x, args...) arr[p] = x; ___bpf_fill5(arr, p + 1, args) argument
187 #define ___bpf_fill7(arr, p, x, args...) arr[p] = x; ___bpf_fill6(arr, p + 1, args) argument
188 #define ___bpf_fill8(arr, p, x, args...) arr[p] = x; ___bpf_fill7(arr, p + 1, args) argument
189 #define ___bpf_fill9(arr, p, x, args...) arr[p] = x; ___bpf_fill8(arr, p + 1, args) argument
190 #define ___bpf_fill10(arr, p, x, args...) arr[p] = x; ___bpf_fill9(arr, p + 1, args) argument
191 #define ___bpf_fill11(arr, p, x, args...) arr[p] = x; ___bpf_fill10(arr, p + 1, args) argument
[all …]
Dbpf_tracing.h352 #define ___bpf_ctx_cast2(x, args...) ___bpf_ctx_cast1(args), (void *)ctx[1] argument
353 #define ___bpf_ctx_cast3(x, args...) ___bpf_ctx_cast2(args), (void *)ctx[2] argument
354 #define ___bpf_ctx_cast4(x, args...) ___bpf_ctx_cast3(args), (void *)ctx[3] argument
355 #define ___bpf_ctx_cast5(x, args...) ___bpf_ctx_cast4(args), (void *)ctx[4] argument
356 #define ___bpf_ctx_cast6(x, args...) ___bpf_ctx_cast5(args), (void *)ctx[5] argument
357 #define ___bpf_ctx_cast7(x, args...) ___bpf_ctx_cast6(args), (void *)ctx[6] argument
358 #define ___bpf_ctx_cast8(x, args...) ___bpf_ctx_cast7(args), (void *)ctx[7] argument
359 #define ___bpf_ctx_cast9(x, args...) ___bpf_ctx_cast8(args), (void *)ctx[8] argument
360 #define ___bpf_ctx_cast10(x, args...) ___bpf_ctx_cast9(args), (void *)ctx[9] argument
361 #define ___bpf_ctx_cast11(x, args...) ___bpf_ctx_cast10(args), (void *)ctx[10] argument
[all …]
/tools/perf/ui/
Dutil.c9 static int perf_stdio__error(const char *format, va_list args) in perf_stdio__error()
16 static int perf_stdio__warning(const char *format, va_list args) in perf_stdio__warning()
35 va_list args; in ui__error() local
47 va_list args; in ui__warning() local
/tools/perf/util/
Dcolor.c14 const char *fmt, va_list args, const char *trail) in __color_vsnprintf()
40 va_list args) in __color_vfprintf()
63 const char *fmt, va_list args) in color_vsnprintf()
68 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf()
76 va_list args; in color_snprintf() local
87 va_list args; in color_fprintf() local
161 va_list args; in percent_color_snprintf() local
172 va_list args; in percent_color_len_snprintf() local
Ddebug.c66 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf()
84 va_list args; in eprintf() local
94 static int veprintf_time(u64 t, const char *fmt, va_list args) in veprintf_time()
112 va_list args; in eprintf_time() local
129 va_list args; in pr_stat() local
139 va_list args; in dump_printf() local
/tools/testing/selftests/bpf/
Dtest_bpftool.py28 def _bpftool(args, json=True): argument
37 def bpftool(args): argument
41 def bpftool_json(args): argument
55 def wrapper(*args, **kwargs):
/tools/perf/ui/gtk/
Dutil.c31 static int perf_gtk__error(const char *format, va_list args) in perf_gtk__error()
57 static int perf_gtk__warning_info_bar(const char *format, va_list args) in perf_gtk__warning_info_bar()
78 static int perf_gtk__warning_statusbar(const char *format, va_list args) in perf_gtk__warning_statusbar()
/tools/testing/selftests/pidfd/
Dpidfd_wait.c29 static pid_t sys_clone3(struct clone_args *args) in sys_clone3()
44 struct clone_args args = { in TEST() local
92 struct clone_args args = { in TEST() local
145 struct clone_args args = { in TEST() local
Dpidfd_fdinfo_test.c27 va_list args; in error_set() local
92 static struct child clone_newns(int (*fn)(void *), void *args, in clone_newns() argument
168 va_list args; in verify_fdinfo() local
215 static int child_fdinfo_nspid_test(void *args) in child_fdinfo_nspid_test()
/tools/testing/selftests/vm/
Dpkey-helpers.h60 #define dprintf_level(level, args...) do { \ argument
64 #define dprintf0(args...) dprintf_level(0, args) argument
65 #define dprintf1(args...) dprintf_level(1, args) argument
66 #define dprintf2(args...) dprintf_level(2, args) argument
67 #define dprintf3(args...) dprintf_level(3, args) argument
68 #define dprintf4(args...) dprintf_level(4, args) argument
/tools/testing/selftests/
Dkselftest.h137 va_list args; in ksft_print_msg() local
149 va_list args; in ksft_test_result_pass() local
163 va_list args; in ksft_test_result_fail() local
189 va_list args; in ksft_test_result_xfail() local
203 va_list args; in ksft_test_result_skip() local
218 va_list args; in ksft_test_result_error() local
256 va_list args; in ksft_exit_fail_msg() local
283 va_list args; in ksft_exit_skip() local
/tools/lib/
Dvsprintf.c6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf()
17 va_list args; in scnprintf() local
30 va_list args; in scnprintf_pad() local
/tools/testing/selftests/net/
Dnettest.c156 va_list args; in log_msg() local
174 va_list args; in log_error() local
192 va_list args; in log_err_errno() local
258 static int tcp_md5sig(int sd, void *addr, socklen_t alen, struct sock_args *args) in tcp_md5sig()
299 static int tcp_md5_remote(int sd, struct sock_args *args) in tcp_md5_remote()
386 static int check_device(int sd, struct sock_args *args) in check_device()
576 static int resolve_devices(struct sock_args *args) in resolve_devices()
643 static int show_sockstat(int sd, struct sock_args *args) in show_sockstat()
689 static int convert_addr(struct sock_args *args, const char *_str, in convert_addr()
806 static int validate_addresses(struct sock_args *args) in validate_addresses()
[all …]
/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c110 struct thread_arg *args = (struct thread_arg *)arg; in waiterfn() local
146 struct thread_arg *args = (struct thread_arg *)arg; in broadcast_wakerfn() local
194 struct thread_arg *args = (struct thread_arg *)arg; in signal_wakerfn() local
259 struct thread_arg *args = (struct thread_arg *)arg; in third_party_blocker() local
285 struct thread_arg args[THREAD_MAX]; in unit_test() local
/tools/lib/perf/
Dcore.c14 va_list args) in __base_pr()
24 va_list args; in libperf_print() local
/tools/lib/traceevent/plugins/
Dplugin_jbd2.c19 process_jbd2_dev_to_name(struct trace_seq *s, unsigned long long *args) in process_jbd2_dev_to_name()
28 process_jiffies_to_msecs(struct trace_seq *s, unsigned long long *args) in process_jiffies_to_msecs()
/tools/testing/selftests/core/
Dclose_range_test.c121 struct __clone_args args = { in TEST() local
210 struct __clone_args args = { in TEST() local
394 struct __clone_args args = { in TEST() local
476 struct __clone_args args = { in TEST() local
/tools/perf/scripts/python/
Dsyscall-counts.py40 common_callchain, id, args): argument
50 common_secs, common_nsecs, common_pid, common_comm, id, args): argument
Dsyscall-counts-by-pid.py43 common_callchain, id, args): argument
54 id, args): argument
/tools/testing/selftests/clone3/
Dclone3.c34 struct __clone_args args = { in call_clone3() local
40 struct __clone_args args; in call_clone3() member

123456