From patchwork Tue Jun 11 15:20:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10987561 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 6185718A6 for ; Tue, 11 Jun 2019 15:21:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52C8C285EC for ; Tue, 11 Jun 2019 15:21:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 473FF2863E; Tue, 11 Jun 2019 15:21:40 +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 EF8B1285EC for ; Tue, 11 Jun 2019 15:21:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388820AbfFKPVj (ORCPT ); Tue, 11 Jun 2019 11:21:39 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45787 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388810AbfFKPVj (ORCPT ); Tue, 11 Jun 2019 11:21:39 -0400 Received: by mail-wr1-f68.google.com with SMTP id f9so13479136wre.12 for ; Tue, 11 Jun 2019 08:21:38 -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:mime-version :content-transfer-encoding; bh=7gZ/GopwkFpllvBMN1CQVB0hlWmhzY1dyJinxXWtTPE=; b=nqwLsZ2IxculU3l5uw0c9AHHk5N+5hYg177uPRVG56jc63VHtI4q85yDR3P8hbTqgs rotB12dKl5p/oVKYXY1cDosx15ldzLFMjCZ7mkLJcoRCFjHwNH+KHjOSTHGPHCffVshY cgJZahzELsdU7jgG691Gkk/iXcDWFMYaE6umJkUiHHPHhEh4o1PXYfAZqDHxT2rHWo9k 6/eezvggbqIyuzvtIhubagrAeK63BWdapHS9Qz6oVdLWcLNtKxWY5hCt4Iah897Rpk/y TR8SHLAgZ51FkOepkljlRurxtQegU6Q59LCDMdz+04KfEjhUBve17H1RHR67GqkPvkqj Qzmw== X-Gm-Message-State: APjAAAVClbLXhSA7AEZvnuBUbwqsHfm0lG3yo+uc54rbaD1qzdDdjPgT kMI0xRykO46cI4XWCEVRTmapr78n X-Google-Smtp-Source: APXvYqytub42nSkcC41D8mR0u8QuRF2m8wm/yyQyZvnyxrTqmvIIEP5qBuHGkY2jKW92UH1wymla0g== X-Received: by 2002:a5d:52c7:: with SMTP id r7mr49326313wrv.110.1560266498124; Tue, 11 Jun 2019 08:21:38 -0700 (PDT) Received: from mamba.eng.vmware.com ([146.247.46.5]) by smtp.gmail.com with ESMTPSA id r2sm2793821wma.26.2019.06.11.08.21.37 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 11 Jun 2019 08:21:37 -0700 (PDT) From: Yordan Karadzhov To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, y.karadz@gmail.com, troyengel@gmail.com, Yordan Karadzhov Subject: [PATCH 0/2] KernelShark build fixes for v1.0 Date: Tue, 11 Jun 2019 18:20:41 +0300 Message-Id: <20190611152043.22572-1-ykaradzhov@vmware.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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 Two patches addressing the problem of having the paths to the build directory embedded in the final binaries. The problem was reported by Troy Engel. Yordan Karadzhov (2): kernel-shark: Avoid TRACECMD_BIN_DIR being set to the build path kernel-shark: Avoid debug build when CMAKE_BUILD_TYPE=Release kernel-shark/CMakeLists.txt | 25 ++++++++++++++++--------- kernel-shark/README | 4 ++-- kernel-shark/build/FindTraceCmd.cmake | 14 +++++++++----- kernel-shark/build/deff.h.cmake | 2 +- kernel-shark/src/KsCaptureDialog.cpp | 13 ++++++++----- 5 files changed, 36 insertions(+), 22 deletions(-)