Searched refs:tpath (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/tools/bpf/bpftool/ |
D | jit_disasm.c | 31 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument 36 len = readlink(path, tpath, size - 1); in get_exec_path() 38 tpath[len] = 0; in get_exec_path() 88 char tpath[PATH_MAX]; in disasm_print_insn() local 94 memset(tpath, 0, sizeof(tpath)); in disasm_print_insn() 95 get_exec_path(tpath, sizeof(tpath)); in disasm_print_insn() 97 bfdf = bfd_openr(tpath, NULL); in disasm_print_insn()
|
/Linux-v5.15/tools/bpf/ |
D | bpf_jit_disasm.c | 35 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument 40 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path() 41 tpath[size - 1] = 0; in get_exec_path() 43 path = strdup(tpath); in get_exec_path() 46 len = readlink(path, tpath, size); in get_exec_path() 47 tpath[len] = 0; in get_exec_path() 55 char tpath[PATH_MAX]; in get_asm_insns() local 60 memset(tpath, 0, sizeof(tpath)); in get_asm_insns() 61 get_exec_path(tpath, sizeof(tpath)); in get_asm_insns() 63 bfdf = bfd_openr(tpath, NULL); in get_asm_insns()
|
/Linux-v5.15/tools/perf/util/ |
D | annotate.c | 1713 char tpath[PATH_MAX]; in symbol__disassemble_bpf() local 1727 memset(tpath, 0, sizeof(tpath)); in symbol__disassemble_bpf() 1728 perf_exe(tpath, sizeof(tpath)); in symbol__disassemble_bpf() 1730 bfdf = bfd_openr(tpath, NULL); in symbol__disassemble_bpf()
|
/Linux-v5.15/tools/power/pm-graph/ |
D | bootgraph.py | 127 fp = open(self.tpath+'available_filter_functions') 471 call('cat '+sysvals.tpath+'trace >> '+sysvals.ftracefile, shell=True)
|
D | sleepgraph.py | 115 tpath = '/sys/kernel/debug/tracing/' variable in SystemValues 541 call('cat '+self.tpath+'available_filter_functions', shell=True) 543 master = self.listFromFile(self.tpath+'available_filter_functions') 552 master = self.listFromFile(self.tpath+'available_filter_functions') 561 fp = open(self.tpath+'set_graph_function', 'w') 701 return self.setVal(val, self.tpath+path) 714 return self.getVal(self.tpath+path) 814 tp = self.tpath 828 tp = self.tpath 5285 sv, tp, pm = sysvals, sysvals.tpath, ProcessMonitor()
|
/Linux-v5.15/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 586 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()
|