Searched refs:cmdfmt (Results 1 – 2 of 2) sorted by relevance
/external/bcc/tests/cc/ |
D | test_usdt_probes.cc | 123 const char *cmdfmt = "readelf -n %s | grep -c \"Name: %s$\""; in probe_num_locations() local 125 sprintf(cmd, cmdfmt, bin_path, func_name); in probe_num_locations() 136 const char *cmdfmt = "readelf -n %s | grep -m 1 -A 2 \" %s$\" | " \ in probe_num_arguments() local 139 sprintf(cmd, cmdfmt, bin_path, func_name); in probe_num_arguments()
|
D | test_c_api.cc | 247 const char *cmdfmt = "nm %s | grep \" %s$\" | cut -f 1 -d \" \""; variable 250 sprintf(cmd, cmdfmt, sym.module, "strtok"); 255 sprintf(cmd, cmdfmt, sym.module, sym.name);
|