From: Carl Worth Date: Fri, 17 Aug 2012 21:22:30 +0000 (-0700) Subject: trim: Print a warning message when doing dependency analysis. X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=83ec3f622309e409d0067da0cce92745b61b11cc;p=apitrace trim: Print a warning message when doing dependency analysis. As requested by José prior to merging this code upstream. --- 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); }