From patchwork Wed Jun 12 18:19:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 10990617 Return-Path: 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 5BF651398 for ; Wed, 12 Jun 2019 18:20:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4ECF52885F for ; Wed, 12 Jun 2019 18:20:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 431892893F; Wed, 12 Jun 2019 18:20:21 +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 CC3062885F for ; Wed, 12 Jun 2019 18:20:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726811AbfFLSUU (ORCPT ); Wed, 12 Jun 2019 14:20:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:46864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726724AbfFLSUU (ORCPT ); Wed, 12 Jun 2019 14:20:20 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C004C208CA; Wed, 12 Jun 2019 18:20:19 +0000 (UTC) Received: from rostedt by gandalf.local.home with local (Exim 4.92) (envelope-from ) id 1hb7r8-000575-QF; Wed, 12 Jun 2019 14:20:18 -0400 Message-Id: <20190612181927.608151291@goodmis.org> User-Agent: quilt/0.65 Date: Wed, 12 Jun 2019 14:19:27 -0400 From: Steven Rostedt To: linux-trace-devel@vger.kernel.org Subject: [PATCH 0/3] trace-cmd: Fix some bugs that include issues with --max-graph-depth Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some last minute bugs that were found and fixed. Steven Rostedt (VMware) (3): trace-cmd: Fix typo in Makefile bidr to bdir trace-cmd: Have --max-graph-depth only be part of instance trace-cmd: Check the return of get_file_content() before calling add_reset_file() ---- tracecmd/Makefile | 2 +- tracecmd/include/trace-local.h | 2 ++ tracecmd/trace-record.c | 33 +++++++++++++++++++-------------- 3 files changed, 22 insertions(+), 15 deletions(-) Reviewed-by: Slavomir Kaslev