Home
last modified time | relevance | path

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

/Linux-v4.19/tools/bpf/bpftool/
Djit_disasm.c29 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument
34 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path()
35 tpath[size - 1] = 0; in get_exec_path()
37 path = strdup(tpath); in get_exec_path()
40 len = readlink(path, tpath, size - 1); in get_exec_path()
42 tpath[len] = 0; in get_exec_path()
85 char tpath[PATH_MAX]; in disasm_print_insn() local
91 memset(tpath, 0, sizeof(tpath)); in disasm_print_insn()
92 get_exec_path(tpath, sizeof(tpath)); in disasm_print_insn()
94 bfdf = bfd_openr(tpath, NULL); in disasm_print_insn()
/Linux-v4.19/tools/bpf/
Dbpf_jit_disasm.c35 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-v4.19/tools/power/pm-graph/
Dbootgraph.py122 fp = open(self.tpath+'available_filter_functions')
466 call('cat '+sysvals.tpath+'trace >> '+sysvals.ftracefile, shell=True)
Dsleepgraph.py99 tpath = '/sys/kernel/debug/tracing/' variable in SystemValues
443 call('cat '+self.tpath+'available_filter_functions', shell=True)
445 master = self.listFromFile(self.tpath+'available_filter_functions')
454 master = self.listFromFile(self.tpath+'available_filter_functions')
463 fp = open(self.tpath+'set_graph_function', 'w')
603 return self.setVal(val, self.tpath+path, mode)
616 return self.getVal(self.tpath+path)
708 tp = self.tpath
722 tp = self.tpath
4544 tp = sysvals.tpath
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_main.c583 struct ipoib_path *tpath; in __path_add() local
588 tpath = rb_entry(pn, struct ipoib_path, rb_node); in __path_add()
590 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()