Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 75) sorted by relevance

123

/tools/include/uapi/linux/
Dbpf_common.h6 #define BPF_CLASS(code) ((code) & 0x07) argument
17 #define BPF_SIZE(code) ((code) & 0x18) argument
21 #define BPF_MODE(code) ((code) & 0xe0) argument
30 #define BPF_OP(code) ((code) & 0xf0) argument
48 #define BPF_SRC(code) ((code) & 0x08) argument
/tools/include/linux/
Dfilter.h36 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
44 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
54 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
62 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
82 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
90 .code = BPF_ALU | BPF_MOV | BPF_X, \
100 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
108 .code = BPF_ALU | BPF_MOV | BPF_K, \
118 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
[all …]
/tools/usb/usbip/src/
Dusbip_network.c148 op_common->code = usbip_net_pack_uint16_t(pack, op_common->code); in usbip_net_pack_op_common()
152 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status) in usbip_net_send_op_common() argument
160 op_common.code = code; in usbip_net_send_op_common()
174 int usbip_net_recv_op_common(int sockfd, uint16_t *code) in usbip_net_recv_op_common() argument
195 switch (*code) { in usbip_net_recv_op_common()
199 if (op_common.code != *code) { in usbip_net_recv_op_common()
200 dbg("unexpected pdu %#0x for %#0x", op_common.code, in usbip_net_recv_op_common()
201 *code); in usbip_net_recv_op_common()
211 *code = op_common.code; in usbip_net_recv_op_common()
Dusbip_network.h28 uint16_t code; member
172 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status);
173 int usbip_net_recv_op_common(int sockfd, uint16_t *code);
Dusbipd.c252 uint16_t code = OP_UNSPEC; in recv_pdu() local
255 ret = usbip_net_recv_op_common(connfd, &code); in recv_pdu()
257 dbg("could not receive opcode: %#0x", code); in recv_pdu()
267 info("received request: %#0x(%d)", code, connfd); in recv_pdu()
268 switch (code) { in recv_pdu()
278 err("received an unknown opcode: %#0x", code); in recv_pdu()
283 info("request %#0x(%d): complete", code, connfd); in recv_pdu()
285 info("request %#0x(%d): failed", code, connfd); in recv_pdu()
Dusbip_attach.c137 uint16_t code = OP_REP_IMPORT; in query_import_device() local
160 rc = usbip_net_recv_op_common(sockfd, &code); in query_import_device()
/tools/perf/Documentation/
Djitdump-specification.txt17 …-data information about the generated code, such as address, size, and name of generated functions…
73 * uint32_t pid: OS process id of the runtime generating the jitted code
74 * uint32_t tid: OS thread identification of the runtime thread generating the jitted code
75 * uint64_t vma: virtual address of jitted code start
76 * uint64_t code_addr: code start address for the jitted code. By default vma = code_addr
77 * uint64_t code_size: size in bytes of the generated jitted code
78 * uint64_t code_index: unique identifier for the jitted code (see below)
80 * native code: raw byte encoding of the jitted code
86 * native code length
89 …a function is jitted it gets a new number. This value is used in case the code for a function is m…
[all …]
Dperf-annotate.txt6 perf-annotate - Read perf.data (created by perf record) and display annotated code
16 code. If the object file has debug symbols then the source code will be
17 displayed alongside assembly code.
98 Interleave source code with assembly code. Enabled by default,
Dperf-config.txt123 You can hide source code of annotate feature setting the config to false with
192 Colors for jump arrows on assembly code listings
217 symbol resolution, code annotation, etc.
229 These are in control of addresses, jump function, source code
230 in lines of assembly code from a specific program.
233 If a program which is analyzed has source code,
234 this option lets 'annotate' print a list of assembly code with the source code.
237 without source code from a program as below.
244 But if this option is 'false', source code of the part
260 Instead of using original addresses of assembly code,
[all …]
Djit-interface.txt1 perf supports a simple JIT interface to resolve symbols for dynamic code generated
Dintel-bts.txt12 While decoding Intel BTS does not require walking the object code, the object
13 code is still needed to pair up calls and returns correctly, consequently much
/tools/lib/subcmd/
Drun-command.c171 int status, code; in wait_or_whine() local
188 code = WEXITSTATUS(status); in wait_or_whine()
189 switch (code) { in wait_or_whine()
195 return -code; in wait_or_whine()
207 int code = start_command(cmd); in run_command() local
208 if (code) in run_command()
209 return code; in run_command()
/tools/objtool/Documentation/
Dstack-validation.txt11 It enforces a set of rules on asm code and C inline assembly code so
14 For each function, it recursively follows all possible code paths and
17 It also follows code paths involving special sections, like
36 code and debug tools to be able to walk the stack to determine the
38 code.
44 For C code, gcc automatically generates instructions for setting up
47 But for asm code, the frame setup instructions have to be written by
49 CONFIG_FRAME_POINTER is honored for C code but not for most asm code.
122 function type. In asm code, this is typically done using the
125 callable code which should be annotated accordingly.
[all …]
/tools/perf/jvmti/
Djvmti_agent.h22 uint64_t vma, void const *code,
26 uint64_t code,
Djvmti_agent.c358 uint64_t vma, void const *code, unsigned int const size) in jvmti_write_code() argument
387 if (code) in jvmti_write_code()
404 if (code) in jvmti_write_code()
405 fwrite_unlocked(code, size, 1, fp); in jvmti_write_code()
415 jvmti_write_debug_info(void *agent, uint64_t code, const char *file, in jvmti_write_debug_info() argument
441 rec.code_addr = (uint64_t)(uintptr_t)code; in jvmti_write_debug_info()
/tools/perf/util/
Dgenelf.c108 const void *code __maybe_unused, in gen_build_id()
132 const void *code, in gen_build_id() argument
138 SHA1(code, csize, (unsigned char *)note->build_id); in gen_build_id()
144 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument
153 MD5_Update(&context, code, csize); in gen_build_id()
247 const void *code, int csize, in jit_write_elf() argument
306 d->d_buf = (void *)code; in jit_write_elf()
465 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf()
Dgenelf.h7 const void *code, int csize, void *debug, int nr_debug_entries,
/tools/testing/selftests/vDSO/
Dvdso_standalone_test_x86.c61 static inline void linux_exit(int code) in linux_exit() argument
63 x86_syscall3(__NR_exit, code, 0, 0); in linux_exit()
/tools/virtio/linux/
Ddma-mapping.h6 # error Virtio userspace code does not support CONFIG_HAS_DMA
/tools/perf/pmu-events/
Djevents.c424 char *code = NULL; in json_events() local
425 addfield(map, &code, "", "", val); in json_events()
426 eventcode |= strtoul(code, NULL, 0); in json_events()
427 free(code); in json_events()
429 char *code = NULL; in json_events() local
430 addfield(map, &code, "", "", val); in json_events()
431 eventcode |= strtoul(code, NULL, 0) << 21; in json_events()
432 free(code); in json_events()
/tools/testing/selftests/rcutorture/doc/
DTINY_RCU.txt19 In common code tested by TREE_RCU test cases.
/tools/net/
Dbpf_dbg.c222 switch (f.code) { in bpf_disasm()
423 val = f.code; in bpf_disasm()
431 if ((BPF_CLASS(f.code) == BPF_JMP && BPF_OP(f.code) != BPF_JA)) in bpf_disasm()
444 f->code, f->jt, f->jf, f->k); in bpf_dump_curr()
495 f[i].code, f[i].jt, f[i].jf, f[i].k); in bpf_dump_all()
518 if (BPF_CLASS(f[i].code) == BPF_LD && in bpf_runnable()
639 switch (f->code) { in bpf_single_step()
804 switch (f->code) { in bpf_single_step()
1027 &tmp.code, &tmp.jt, &tmp.jf, &tmp.k) != 4) { in cmd_load_bpf()
1032 bpf_image[i].code = tmp.code; in cmd_load_bpf()
/tools/usb/usbip/
DCOPYING24 this service if you wish), that you receive source code or can get it
36 source code. And you must show them these terms so they know their
80 source code as you receive it, in any medium, provided that you
135 under Section 2) in object code or executable form under the terms of
139 source code, which must be distributed under the terms of Sections
145 machine-readable copy of the corresponding source code, to be
150 to distribute corresponding source code. (This alternative is
152 received the program in object code or executable form with such
155 The source code for a work means the preferred form of the work for
157 code means all the source code for all modules it contains, plus any
[all …]
DINSTALL47 1. `cd' to the directory containing the package's source code and type
62 source code directory by typing `make clean'. To also remove the
96 source code in the directory that `configure' is in and in `..'.
99 architecture at a time in the source code directory. After you have
164 produce code for.
166 If you want to _use_ a cross compiler, that generates code for a
232 Look for the package's source code in directory DIR. Usually
/tools/testing/selftests/ftrace/
DREADME47 Result code
73 There are some sample test scripts for result code under samples/.

123