Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 70) sorted by relevance

123

/tools/lib/perf/include/internal/
A Drc_check.h43 #define ADD_RC_CHK(result, object) (result = object, object) argument
46 #define RC_CHK_ACCESS(object) object argument
49 #define RC_CHK_FREE(object) free(object) argument
52 #define RC_CHK_GET(result, object) ADD_RC_CHK(result, object) argument
86 #define RC_CHK_ACCESS(object) object->orig argument
91 zfree(&object->orig); \
92 free(object); \
96 #define RC_CHK_GET(result, object) ADD_RC_CHK(result, (object ? object->orig : NULL)) argument
101 if (object) { \
102 object->orig = NULL; \
[all …]
/tools/build/Documentation/
A DBuild.txt10 Unlike the kernel we don't have a single build object 'obj-y' list that where
33 OBJECT - is the name of the build object
138 CFLAGS_perf.o += '...' - adds CFLAGS for perf.o object
139 CFLAGS_gtk += '...' - adds CFLAGS for gtk build object
140 CFLAGS_REMOVE_perf.o += '...' - removes CFLAGS for perf.o object
141 CFLAGS_REMOVE_gtk += '...' - removes CFLAGS for gtk build object
149 For each built object file 'a.o' the '.a.cmd' is created and holds:
151 - Command line used to built that object
152 (for each object)
155 (for compiled object)
[all …]
/tools/perf/util/
A Dllvm-c-helpers.cpp80 object::SectionedAddress sectioned_addr = { in llvm_addr2line()
82 object::SectionedAddress::UndefSection in llvm_addr2line()
166 object::SectionedAddress sectioned_addr = { in llvm_name_for_code()
168 object::SectionedAddress::UndefSection in llvm_name_for_code()
184 object::SectionedAddress sectioned_addr = { in llvm_name_for_data()
186 object::SectionedAddress::UndefSection in llvm_name_for_data()
/tools/bpf/bpftool/Documentation/
A Dbpftool-gen.rst21 *COMMAND* := { **object** | **skeleton** | **help** }
26 | **bpftool** **gen object** *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...]
34 bpftool gen object *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...]
57 side. Generated code is tailored to specific input BPF object *FILE*,
66 within BPF object. When requested, supported BPF programs will be
82 During skeleton generation, contents of source BPF object *FILE* is
94 prefixed with object name. Object name can either be derived from object
95 file name, i.e., if BPF object file name is **example.o**, BPF object name
98 provided (assuming **example** as the object name):
124 skeleton and BPF object.
[all …]
A Dbpftool-btf.rst39 information only about given BTF object, otherwise list all BTF objects
49 When **id** is specified, BTF object with that ID will be loaded and all
52 When **map** is provided, it's expected that map has associated BTF object
56 object (**all**). If not specified, **kv** is assumed.
59 object with BTF types.
83 Pass a base BTF object. Base BTF objects are typically used with BTF
86 built incrementally on top of the kernel (vmlinux) BTF object. So the
89 When the main BTF object to process (for example, the module BTF to
91 for the base object, and passing this option is optional. When the main
92 BTF object is passed through other handles, this option becomes
/tools/testing/selftests/net/
A Dudpgro_frglist.sh43 ip -n "${PEER_NS}" link set veth1 xdp object ${BPF_FILE} section xdp
45 …tc -n "${PEER_NS}" filter add dev veth1 ingress prio 4 protocol ipv6 bpf object-file nat6to4.bpf.o…
46 …tc -n "${PEER_NS}" filter add dev veth1 egress prio 4 protocol ip bpf object-file nat6to4.bpf.o se…
A Dveth.sh249 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp
257 ip -n $NS_SRC link set dev veth$SRC xdp object ${BPF_FILE} section xdp
263 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp
272 ip -n $NS_SRC link set dev veth$SRC xdp object ${BPF_FILE} section xdp
319 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} \
326 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} \
342 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp 2>/dev/null
A Dnat6to4.sh12 bpf object-file nat6to4.bpf.o section schedcls/egress4/snat4 direct-action
A Dudpgro_bench.sh41 ip -n "${PEER_NS}" link set veth1 xdp object ${BPF_FILE} section xdp
/tools/bpf/resolve_btfids/
A Dmain.c114 struct object { struct
260 static struct btf_id *add_set(struct object *obj, char *name, bool is_set8) in add_set()
329 static int elf_collect(struct object *obj) in elf_collect()
430 static int symbols_collect(struct object *obj) in symbols_collect()
532 static int symbols_resolve(struct object *obj) in symbols_resolve()
623 static int id_patch(struct object *obj, struct btf_id *id) in id_patch()
655 static int __symbols_patch(struct object *obj, struct rb_root *root) in __symbols_patch()
679 static int sets_patch(struct object *obj) in sets_patch()
741 static int symbols_patch(struct object *obj) in symbols_patch()
778 struct object obj = { in main()
/tools/testing/selftests/hid/tests/
A Dbase_device.py45 class SysfsFile(object):
74 class LED(object):
88 class PowerSupply(object):
115 class HIDIsReady(object):
183 class EvdevMatch(object):
213 class EvdevDevice(object):
A Dbase_gamepad.py12 class GamepadData(object):
16 class AxisMapping(object):
A Dtest_ite_keyboard.py21 class KbdData(object):
/tools/testing/selftests/bpf/
A Dveristat.cfg1 # pre-canned list of rather complex selftests/bpf BPF object files to monitor
/tools/bpf/bpftool/bash-completion/
A Dbpftool311 local object=${words[1]}
313 if [[ -z $object || $cword -eq 1 ]]; then
335 case $object in
597 [[ $prev == $object ]] && \
625 [[ $prev == $object ]] && \
657 [[ $prev == $object ]] && \
893 [[ $prev == $object ]] && \
986 [[ $prev == $object ]] && \
994 object)
1027 [[ $prev == $object ]] && \
[all …]
/tools/testing/selftests/
A Dkselftest_harness.h465 struct __test_metadata *object = mmap(NULL, sizeof(*object), \
467 object->name = #test_name; \
468 object->fn = &wrapper_##fixture_name##_##test_name; \
469 object->fixture = &_##fixture_name##_fixture_object; \
470 object->teardown_fn = &wrapper_##fixture_name##_##test_name##_teardown; \
471 object->termsig = signal; \
472 object->timeout = tmout; \
473 _##fixture_name##_##test_name##_object = object; \
474 __register_test(object); \
/tools/perf/Documentation/
A Dperf-archive.txt6 perf-archive - Create archive with object files with build-ids found in perf.data file
A Dintel-bts.txt12 While decoding Intel BTS does not require walking the object code, the object
/tools/testing/selftests/tc-testing/creating-plugins/
A DAddingPlugins.txt46 rest of the tests must be skipped. The info is stored in the object,
90 The add_args method receives the argparser object and can add
95 The add_args method should return the argparser object.
/tools/testing/selftests/damon/
A Ddrgn_dump_damon_status.py22 def to_dict(object, attr_name_converter): argument
25 d[attr_name] = converter(getattr(object, attr_name))
/tools/power/cpupower/bindings/python/
A DREADME2 libcpupower (aside from the libcpupower object files).
35 Build the object files for libcpupower by running make in the cpupower
/tools/testing/selftests/sched_ext/
A DMakefile141 $(Q)$(BPFTOOL) gen object $(<:.o=.linked1.o) $<
142 $(Q)$(BPFTOOL) gen object $(<:.o=.linked2.o) $(<:.o=.linked1.o)
143 $(Q)$(BPFTOOL) gen object $(<:.o=.linked3.o) $(<:.o=.linked2.o)
/tools/sched_ext/
A DMakefile181 $(Q)$(BPFTOOL) gen object $(<:.o=.linked1.o) $<
182 $(Q)$(BPFTOOL) gen object $(<:.o=.linked2.o) $(<:.o=.linked1.o)
183 $(Q)$(BPFTOOL) gen object $(<:.o=.linked3.o) $(<:.o=.linked2.o)
/tools/testing/selftests/futex/
A DREADME26 shared object building and linking.
28 implemented in header files, avoiding the need to compile intermediate object
/tools/testing/kunit/
A Dkunit_tool_test.py419 mock.patch.object(signal, 'signal').start()
482 mock.patch.object(tree._ops, 'start', side_effect=fake_start).start()
502 mock_build_config = mock.patch.object(tree, 'build_config').start()
523 mock_build_config = mock.patch.object(tree, 'build_config').start()
543 mock_build_config = mock.patch.object(tree, 'build_config').start()
606 self.mock_linux_init = mock.patch.object(kunit_kernel, 'LinuxSourceTree').start()
778 @mock.patch.object(kunit_kernel, 'LinuxSourceTree')
831 @mock.patch.object(kunit, '_list_tests')
844 @mock.patch.object(kunit, '_list_tests')

Completed in 56 milliseconds

123