From 83ec3f622309e409d0067da0cce92745b61b11cc Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 17 Aug 2012 14:22:30 -0700 Subject: [PATCH] trim: Print a warning message when doing dependency analysis. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As requested by José prior to merging this code upstream. --- cli/cli_trim.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cli/cli_trim.cpp b/cli/cli_trim.cpp index c2bb887..080c131 100644 --- a/cli/cli_trim.cpp +++ b/cli/cli_trim.cpp @@ -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); } -- 2.45.2