From patchwork Thu Mar 7 15:05:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10843063 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 E1E82922 for ; Thu, 7 Mar 2019 15:05:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFC732F337 for ; Thu, 7 Mar 2019 15:05:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C411B2F343; Thu, 7 Mar 2019 15:05:41 +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 9405E2F337 for ; Thu, 7 Mar 2019 15:05:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726172AbfCGPFk (ORCPT ); Thu, 7 Mar 2019 10:05:40 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40365 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbfCGPFk (ORCPT ); Thu, 7 Mar 2019 10:05:40 -0500 Received: by mail-wm1-f67.google.com with SMTP id g20so9487049wmh.5 for ; Thu, 07 Mar 2019 07:05:39 -0800 (PST) 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=u2lo2WEDRuEdyIPOfJAVbLGdfhu/OMhY0/4TDFAALgs=; b=dgH89FRD6ZRSfkqe6Sy5UiKDPSlC9lSSGEhxek9+8hymXvtCYgvCVXQgaWcEVOgQp4 U0RnJC9oU7esEpEF28e37NAEjjO0mPQY2XvQt/xeQ9Rin5p7XW8qzY7MWsQmytTO6m2Y 8yoSt1p7snJRwU+/wijNE+MQxs+7rpg0/Q0qJQKgWchYRJSbIQ0wMxp172K3NP9IWdjS eF3tBKtozImeCToDTtq/ObJW9dUlY/mxBDiftIu8+KpbmJm21AWtAdDg09bipAV4RM8w WnCE/F9HJP9VmBwibxFqFwnQe3fpdvEa21ZkCNsNG+jWKIMA+XvUheZ9DOV9C2TjgdXf vkhQ== X-Gm-Message-State: APjAAAVm9VjLr/k6Ra46ewvwZrDviCb7i5PxtU8uAtjwdXeCt4bRPUpV G4DTl6IdtNzWMOJmMwCWX/k0l2JZ/aA= X-Google-Smtp-Source: APXvYqzCROTQEuPyLgTlC+pxsbZzmXxY99diZELMcUTikSACPm/CQ+Fnl3eTITIbv9PR+mrfUBGrZA== X-Received: by 2002:a7b:cf27:: with SMTP id m7mr6018412wmg.80.1551971138429; Thu, 07 Mar 2019 07:05:38 -0800 (PST) Received: from localhost.localdomain ([95.87.198.56]) by smtp.gmail.com with ESMTPSA id d15sm10281274wrw.36.2019.03.07.07.05.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 07:05:38 -0800 (PST) From: Yordan Karadzhov To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, Yordan Karadzhov Subject: [PATCH 1/4] kernel-shark: Specify the OpenGL interface used by KernelShark Date: Thu, 7 Mar 2019 17:05:08 +0200 Message-Id: <20190307150511.17246-2-ykaradzhov@vmware.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190307150511.17246-1-ykaradzhov@vmware.com> References: <20190307150511.17246-1-ykaradzhov@vmware.com> 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 We instruct CMAKE to prefer using the legacy libGL library, if available. Although this is the default choice, the latest versions of CMAKE are printing a warning message in the case when no explicit preference is provided. Suggested-by: Slavomir Kaslev Signed-off-by: Yordan Karadzhov --- kernel-shark/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel-shark/CMakeLists.txt b/kernel-shark/CMakeLists.txt index 9460026..20ced14 100644 --- a/kernel-shark/CMakeLists.txt +++ b/kernel-shark/CMakeLists.txt @@ -22,6 +22,7 @@ include(${KS_DIR}/build/FindJSONC.cmake) find_package(Doxygen) +set(OpenGL_GL_PREFERENCE LEGACY) find_package(OpenGL) find_package(GLUT)