Home
last modified time | relevance | path

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

/external/bcc/tests/cc/
Dtest_usdt_probes.cc123 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()
Dtest_c_api.cc247 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);