Home
last modified time | relevance | path

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

/tools/net/
Dbpf_jit_disasm.c34 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument
39 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path()
40 tpath[size - 1] = 0; in get_exec_path()
42 path = strdup(tpath); in get_exec_path()
45 len = readlink(path, tpath, size); in get_exec_path()
46 tpath[len] = 0; in get_exec_path()
54 char tpath[256]; in get_asm_insns() local
59 memset(tpath, 0, sizeof(tpath)); in get_asm_insns()
60 get_exec_path(tpath, sizeof(tpath)); in get_asm_insns()
62 bfdf = bfd_openr(tpath, NULL); in get_asm_insns()