Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 15 of 15) sorted by relevance

/tools/testing/selftests/
Dgen_kselftest_tar.sh17 ext=".tar.gz"
22 ext=".tar"
26 ext=".tar.gz"
30 ext=".tar.bz2"
34 ext=".tar.xz"
48 tar $copts kselftest${ext} $install_dir
49 echo "Kselftest archive kselftest${ext} created!"
/tools/perf/tests/
Dkmod-path.c8 bool kmod, bool comp, const char *name, const char *ext) in test() argument
18 path, alloc_name, alloc_ext, m.kmod, m.comp, m.name, m.ext); in test()
23 if (ext) in test()
24 TEST_ASSERT_VAL("wrong ext", m.ext && !strcmp(ext, m.ext)); in test()
26 TEST_ASSERT_VAL("wrong ext", !m.ext); in test()
34 free(m.ext); in test()
/tools/objtool/arch/x86/
Ddecode.c50 unsigned char op1, op2, ext; in arch_decode_instruction() local
164 ext = X86_MODRM_REG(insn.modrm.bytes[0]); in arch_decode_instruction()
165 if (ext == 2 || ext == 3) in arch_decode_instruction()
167 else if (ext == 4) in arch_decode_instruction()
169 else if (ext == 5) /*jmpf */ in arch_decode_instruction()
/tools/perf/util/intel-pt-decoder/
Dgen-insn-attr-x86.awk288 ext = null
298 ext = $(i++)
313 if (match(ext, force64_expr))
325 if (match(ext, evexonly_expr))
327 else if (match(ext, vexonly_expr))
329 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr))
333 if (match(ext, prefix_expr)) {
341 if (match(ext, lprefix1_expr)) {
345 if (match(ext, lprefix2_expr)) {
349 if (match(ext, lprefix3_expr)) {
[all …]
Dintel-pt-insn-decoder.c36 int ext; in intel_pt_insn_decoder() local
111 ext = (insn->modrm.bytes[0] >> 3) & 0x7; in intel_pt_insn_decoder()
112 switch (ext) { in intel_pt_insn_decoder()
/tools/objtool/arch/x86/insn/
Dgen-insn-attr-x86.awk288 ext = null
298 ext = $(i++)
313 if (match(ext, force64_expr))
325 if (match(ext, evexonly_expr))
327 else if (match(ext, vexonly_expr))
329 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr))
333 if (match(ext, prefix_expr)) {
341 if (match(ext, lprefix1_expr)) {
345 if (match(ext, lprefix2_expr)) {
349 if (match(ext, lprefix3_expr)) {
[all …]
/tools/perf/util/
Ddso.c162 bool is_supported_compression(const char *ext) in is_supported_compression() argument
167 if (!strcmp(ext, compressions[i].fmt)) in is_supported_compression()
199 bool decompress_to_file(const char *ext, const char *filename, int output_fd) in decompress_to_file() argument
204 if (!strcmp(ext, compressions[i].fmt)) in decompress_to_file()
237 const char *ext = strrchr(path, '.'); in __kmod_path__parse() local
264 if ((ext == NULL) || is_simple_name) { in __kmod_path__parse()
272 if (is_supported_compression(ext + 1)) { in __kmod_path__parse()
274 ext -= 3; in __kmod_path__parse()
278 if (ext > name) in __kmod_path__parse()
279 m->kmod = !strncmp(ext, ".ko", 3); in __kmod_path__parse()
[all …]
Ddso.h243 bool is_supported_compression(const char *ext);
245 bool decompress_to_file(const char *ext, const char *filename, int output_fd);
250 char *ext; member
Dannotate.c1339 free(m.ext); in symbol__disassemble()
1343 ret = decompress_to_file(m.ext, symfs_filename, fd); in symbol__disassemble()
1346 pr_err("Cannot decompress %s %s\n", m.ext, symfs_filename); in symbol__disassemble()
1348 free(m.ext); in symbol__disassemble()
Dsymbol-elf.c658 if (!decompress_to_file(m.ext, name, fd)) { in decompress_kmodule()
667 free(m.ext); in decompress_kmodule()
/tools/lib/subcmd/
Dhelp.c145 static int has_extension(const char *filename, const char *ext) in has_extension() argument
148 size_t extlen = strlen(ext); in has_extension()
150 return len > extlen && !memcmp(filename + len - extlen, ext, extlen); in has_extension()
/tools/perf/
Dperf.c398 static const char ext[] = STRIP_EXTENSION; in handle_internal_command() local
400 if (sizeof(ext) > 1) { in handle_internal_command()
401 i = strlen(argv[0]) - strlen(ext); in handle_internal_command()
402 if (i > 0 && !strcmp(argv[0] + i, ext)) { in handle_internal_command()
Dbuiltin-script.c1357 const char *script, *ext; in parse_scriptname() local
1382 ext = strrchr(script, '.'); in parse_scriptname()
1383 if (!ext) { in parse_scriptname()
1387 scripting_ops = script_spec__lookup(++ext); in parse_scriptname()
DMakefile.perf261 PYTHON_EXT_DEPS := util/python-ext-sources util/setup.py $(LIBTRACEEVENT) $(LIBAPI)
/tools/perf/Documentation/
Dperf-script.txt92 Process trace data with the given script ([lang]:script[.ext]).
98 Generate perf-script.[ext] starter script for given language,