Message ID | 20190405140332.10949-6-tstoyanov@vmware.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-trace-devel-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 57CD417E9 for <patchwork-linux-trace-devel@patchwork.kernel.org>; Fri, 5 Apr 2019 14:03:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 426BA27FC0 for <patchwork-linux-trace-devel@patchwork.kernel.org>; Fri, 5 Apr 2019 14:03:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36CE928862; Fri, 5 Apr 2019 14:03:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A08E528671 for <patchwork-linux-trace-devel@patchwork.kernel.org>; Fri, 5 Apr 2019 14:03:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730870AbfDEODm (ORCPT <rfc822;patchwork-linux-trace-devel@patchwork.kernel.org>); Fri, 5 Apr 2019 10:03:42 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39199 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729987AbfDEODl (ORCPT <rfc822;linux-trace-devel@vger.kernel.org>); Fri, 5 Apr 2019 10:03:41 -0400 Received: by mail-wr1-f65.google.com with SMTP id j9so8171712wrn.6 for <linux-trace-devel@vger.kernel.org>; Fri, 05 Apr 2019 07:03:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v6G+QUj4MP4Z4WiHOY2csqsbs6lznvZV6Rg8bE4ZHaY=; b=MfhgMU/WDtnvIqAw0J16QO06dsI/+k0nv/lLBo0dve0Lg4nSz80mhfA+X4zZ6wD0dm 9DlW4MBNNhmxbn5176TRoMemCIcDRbET+PINk2ie5W+0sZOGxqmEY0Undqqi+GbkniWk gxLyjGbtTVMqVjBEC5EKoPY9/v0OxDpsRFky8AmhE+bx42WYCycXnlTn0juYzHfEpS7N n70LGS/v+3DvQNRsaed8JVAFdPKQtm+F1jv6UCU7YvsEhCDdVu+kib/V70jlxmdBgNG6 zKJM+CoEivj/n7AURennMawEZEHRF+EH4iO5d4ou4L4LhkQB9Z8JsC/aNXsKO6qq9k9S VbXA== X-Gm-Message-State: APjAAAVxq6s23MgNScMLmMAQS9/OcRqNVi320UZ37G7ARga4gArR2rQf Yxl9+b1d+AjXrq0owZgee20= X-Google-Smtp-Source: APXvYqxJMY9UgrGfAr5WeUr1k8gVnMEyWxpCri2tZyD2znSAicu/ovVJdsd6UVELJ3LU6Eu9xPgWYg== X-Received: by 2002:adf:e94d:: with SMTP id m13mr9365590wrn.141.1554473020289; Fri, 05 Apr 2019 07:03:40 -0700 (PDT) Received: from oberon.eng.vmware.com ([146.247.46.5]) by smtp.gmail.com with ESMTPSA id w16sm29604647wrt.84.2019.04.05.07.03.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Apr 2019 07:03:39 -0700 (PDT) From: Tzvetomir Stoyanov <tstoyanov@vmware.com> To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org Subject: [PATCH 05/10] tools lib traceevent: Remove call to exit() from tep_filter_add_filter_str() Date: Fri, 5 Apr 2019 17:03:27 +0300 Message-Id: <20190405140332.10949-6-tstoyanov@vmware.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190405140332.10949-1-tstoyanov@vmware.com> References: <20190405140332.10949-1-tstoyanov@vmware.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-trace-devel.vger.kernel.org> X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Backport of traceevent APIs cleanup changes from kernel tree to trace-cmd
|
expand
|
diff --git a/lib/traceevent/parse-filter.c b/lib/traceevent/parse-filter.c index 4ffd8b2..3320c0a 100644 --- a/lib/traceevent/parse-filter.c +++ b/lib/traceevent/parse-filter.c @@ -1346,9 +1346,6 @@ enum tep_errno tep_filter_add_filter_str(struct tep_event_filter *filter, free_events(events); - if (rtn >= 0 && pevent->test_filters) - exit(0); - return rtn; }