Searched refs:cans (Results 1 – 1 of 1) sorted by relevance
/linux-tools/perf/uprobe/ |
H A D | uprobe.cpp | 200 vector<RNode> cans; in main() local 239 cans.push_back(rr); in main() 247 if (cans.size()==0) { printf("no func found\n"); return 0; } in main() 248 k=0; if (cans.size()>1) { in main() 249 … printf("%d candidates found, please make a selection: [0, %d]\n", cans.size(), cans.size()-1); in main() 250 for (i=0; i<cans.size(); i++) { in main() 251 printf("[%d]: %s<%s>\n", i, cans[i].func_name.c_str(), cans[i].file_name.c_str()); in main() 254 if (k<0||k>=cans.size()) { printf("invalid selection, abort\n"); return 1; } in main() 256 …vaddr 0x%llx, relative addr 0x%llx)\n", cans[k].func_name.c_str(), cans[k].file_name.c_str(), cans… in main() 274 attr.uprobe_path = (__u64)cans[k].file_name.c_str(); in main() [all …]
|