Home
last modified time | relevance | path

Searched refs:tpath (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/tools/bpf/
Dbpf_jit_disasm.c36 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument
41 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path()
42 tpath[size - 1] = 0; in get_exec_path()
44 path = strdup(tpath); in get_exec_path()
47 len = readlink(path, tpath, size); in get_exec_path()
48 tpath[len] = 0; in get_exec_path()
56 char tpath[PATH_MAX]; in get_asm_insns() local
61 memset(tpath, 0, sizeof(tpath)); in get_asm_insns()
62 get_exec_path(tpath, sizeof(tpath)); in get_asm_insns()
64 bfdf = bfd_openr(tpath, NULL); in get_asm_insns()
/Linux-v6.1/tools/bpf/bpftool/
Djit_disasm.c32 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument
37 len = readlink(path, tpath, size - 1); in get_exec_path()
39 tpath[len] = 0; in get_exec_path()
112 char tpath[PATH_MAX]; in disasm_print_insn() local
118 memset(tpath, 0, sizeof(tpath)); in disasm_print_insn()
119 get_exec_path(tpath, sizeof(tpath)); in disasm_print_insn()
121 bfdf = bfd_openr(tpath, NULL); in disasm_print_insn()
/Linux-v6.1/tools/perf/util/
Dannotate.c1741 char tpath[PATH_MAX]; in symbol__disassemble_bpf() local
1755 memset(tpath, 0, sizeof(tpath)); in symbol__disassemble_bpf()
1756 perf_exe(tpath, sizeof(tpath)); in symbol__disassemble_bpf()
1758 bfdf = bfd_openr(tpath, NULL); in symbol__disassemble_bpf()
/Linux-v6.1/tools/power/pm-graph/
Dbootgraph.py129 fp = open(self.tpath+'available_filter_functions')
473 call('cat '+sysvals.tpath+'trace >> '+sysvals.ftracefile, shell=True)
Dsleepgraph.py123 tpath = '/sys/kernel/debug/tracing/' variable in SystemValues
580 call('cat '+self.tpath+'available_filter_functions', shell=True)
582 master = self.listFromFile(self.tpath+'available_filter_functions')
591 master = self.listFromFile(self.tpath+'available_filter_functions')
600 fp = open(self.tpath+'set_graph_function', 'w')
742 return self.setVal(val, self.tpath+path)
757 return self.getVal(self.tpath+path)
814 fp = open(self.tpath+'set_ftrace_notrace', 'w')
862 tp = self.tpath
876 tp = self.tpath
[all …]
/Linux-v6.1/drivers/infiniband/ulp/ipoib/
Dipoib_main.c586 struct ipoib_path *tpath; in __path_add() local
591 tpath = rb_entry(pn, struct ipoib_path, rb_node); in __path_add()
593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()