X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=cli%2Fcli_trim.cpp;h=b0cb8f167557fbe162b174a50ddf2610ce905b2b;hb=6e57af89424041f13fbaa519d15deba4aa6d523f;hp=5625a2c4f845ee2e0bccdba1cd24ed42c04b3ddb;hpb=d2bd4ca33c21d6051eb28e8186a3ef800acce862;p=apitrace diff --git a/cli/cli_trim.cpp b/cli/cli_trim.cpp index 5625a2c..b0cb8f1 100644 --- a/cli/cli_trim.cpp +++ b/cli/cli_trim.cpp @@ -210,8 +210,8 @@ trim_trace(const char *filename, struct trim_options *options) goto NEXT; } - /* Also, prune if uninteresting (unless the user asked for no pruning. */ - if (options->prune_uninteresting && call->flags & trace::CALL_FLAG_VERBOSE) { + /* Also, prune if no side effects (unless the user asked for no pruning. */ + if (options->prune_uninteresting && call->flags & trace::CALL_FLAG_NO_SIDE_EFFECTS) { goto NEXT; }