| Index: tools/bench_record.cpp
 | 
| diff --git a/tools/bench_record.cpp b/tools/bench_record.cpp
 | 
| index 65198fa5ba17172976572803b35434c57020f5dd..911711b283486b34f50f08e610022f86ba650140 100644
 | 
| --- a/tools/bench_record.cpp
 | 
| +++ b/tools/bench_record.cpp
 | 
| @@ -33,6 +33,7 @@ DEFINE_int32(nullSize, 1000, "Pretend dimension of null source picture.");
 | 
|  DEFINE_int32(tileGridSize, 512, "Set the tile grid size. Has no effect if bbh is not set to tilegrid.");
 | 
|  DEFINE_string(bbh, "", "Turn on the bbh and select the type, one of rtree, tilegrid, quadtree");
 | 
|  DEFINE_bool(skr, false, "Record SKR instead of SKP.");
 | 
| +DEFINE_string(match, "", "The usual filters on file names of SKPs to bench.");
 | 
|  
 | 
|  static SkBBHFactory* parse_FLAGS_bbh() {
 | 
|      if (FLAGS_bbh.isEmpty()) {
 | 
| @@ -106,6 +107,10 @@ int tool_main(int argc, char** argv) {
 | 
|      SkString filename;
 | 
|      bool failed = false;
 | 
|      while (it.next(&filename)) {
 | 
| +        if (SkCommandLineFlags::ShouldSkip(FLAGS_match, filename.c_str())) {
 | 
| +            continue;
 | 
| +        }
 | 
| +
 | 
|          const SkString path = SkOSPath::SkPathJoin(FLAGS_skps[0], filename.c_str());
 | 
|  
 | 
|          SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path.c_str()));
 | 
| 
 |