]> git.cworth.org Git - apitrace/blobdiff - cli/cli_trim.cpp
trim: Print a warning message when doing dependency analysis.
[apitrace] / cli / cli_trim.cpp
index c2bb887c4c7ed0f239c1dd23589b15bf0ced07b6..080c131c9dc223f40f7d2deebbe7e511fe5ace7d 100644 (file)
@@ -387,6 +387,14 @@ command(int argc, char *argv[])
         return 1;
     }
 
+    if (options.dependency_analysis) {
+        std::cerr <<
+            "Note: The dependency analysis in \"apitrace trim\" is still experimental.\n"
+            "      We hope that it will be useful, but it may lead to incorrect results.\n"
+            "      If you find a trace that misbehaves while trimming, please share that\n"
+            "      by sending email to apitrace@lists.freedesktop.org, cworth@cworth.org\n";
+    }
+
     return trim_trace(argv[optind], &options);
 }