Searched refs:tpath (Results 1 – 5 of 5) sorted by relevance
| /tools/bpf/ |
| D | bpf_jit_disasm.c | 36 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()
|
| /tools/bpf/bpftool/ |
| D | jit_disasm.c | 160 static int get_exec_path(char *tpath, size_t size) in get_exec_path() argument 165 len = readlink(path, tpath, size - 1); in get_exec_path() 169 tpath[len] = 0; in get_exec_path() 236 char tpath[PATH_MAX]; in init_context() local 239 memset(tpath, 0, sizeof(tpath)); in init_context() 240 if (get_exec_path(tpath, sizeof(tpath))) { in init_context() 245 ctx->bfdf = bfd_openr(tpath, NULL); in init_context()
|
| /tools/perf/util/ |
| D | disasm_bpf.c | 41 char tpath[PATH_MAX]; in symbol__disassemble_bpf() local 55 memset(tpath, 0, sizeof(tpath)); in symbol__disassemble_bpf() 56 perf_exe(tpath, sizeof(tpath)); in symbol__disassemble_bpf() 58 bfdf = bfd_openr(tpath, NULL); in symbol__disassemble_bpf()
|
| /tools/power/pm-graph/ |
| D | bootgraph.py | 129 fp = open(self.tpath+'available_filter_functions') 473 call('cat '+sysvals.tpath+'trace >> '+sysvals.ftracefile, shell=True)
|
| D | sleepgraph.py | 123 tpath = '/sys/kernel/tracing/' variable in SystemValues 581 call('cat '+self.tpath+'available_filter_functions', shell=True) 583 master = self.listFromFile(self.tpath+'available_filter_functions') 592 master = self.listFromFile(self.tpath+'available_filter_functions') 601 fp = open(self.tpath+'set_graph_function', 'w') 743 return self.setVal(val, self.tpath+path) 758 return self.getVal(self.tpath+path) 815 fp = open(self.tpath+'set_ftrace_notrace', 'w') 863 tp = self.tpath 877 tp = self.tpath [all …]
|