]> git.cworth.org Git - apitrace/blobdiff - cli/cli_trim.cpp
s/UNINTERESTING/VERBOSE/
[apitrace] / cli / cli_trim.cpp
index 080c131c9dc223f40f7d2deebbe7e511fe5ace7d..22340b23b40034c90e2d10b1b6816a1c06fe740f 100644 (file)
@@ -213,7 +213,7 @@ trim_trace(const char *filename, struct trim_options *options)
         }
 
         /* Also, prune if uninteresting (unless the user asked for no pruning. */
-        if (options->prune_uninteresting && call->flags & trace::CALL_FLAG_UNINTERESTING) {
+        if (options->prune_uninteresting && call->flags & trace::CALL_FLAG_VERBOSE) {
             goto NEXT;
         }
 
@@ -303,7 +303,7 @@ trim_trace(const char *filename, struct trim_options *options)
             printf ("-%d\n", call_range_last);
     }
 
-    std::cout << "Trimmed trace is available as " << options->output << "\n";
+    std::cerr << "Trimmed trace is available as " << options->output << "\n";
 
     return 0;
 }