trace::ParseBookmark beginning;
trace::Parser p;
TraceAnalyzer analyzer(options->trim_flags);
- std::set<unsigned> *required;
+ trace::FastCallSet *required;
unsigned frame;
int call_range_first, call_range_last;
trace::Writer writer;
if (!writer.open(options->output.c_str())) {
- std::cerr << "error: failed to create " << filename << "\n";
+ std::cerr << "error: failed to create " << options->output << "\n";
return 1;
}
break;
}
- if (required->find(call->no) != required->end()) {
+ if (required->contains(call->no)) {
writer.writeCall(call);
if (options->print_callset) {
}
break;
default:
- std::cerr << "error: unexpected option `" << opt << "`\n";
+ std::cerr << "error: unexpected option `" << (char)opt << "`\n";
usage();
return 1;
}