#include #include #include #include #include #include using std::string; int processInstrumentationRequests(char *fname); bool processFileForInstrumentation(const string& file_name); int main(int argc, char **argv) { if (argc != 3) { fprintf (stderr, "Usage: tau_selectfile \n"); return -1; } processInstrumentationRequests(argv[1]); if (processFileForInstrumentation(argv[2])) { printf ("yes\n"); } else { printf ("no\n"); } return 0; }