From patchwork Thu Mar 29 17:06:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nayan Deshmukh X-Patchwork-Id: 10315733 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3EFA760383 for ; Thu, 29 Mar 2018 17:07:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E0662A456 for ; Thu, 29 Mar 2018 17:07:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22D182A459; Thu, 29 Mar 2018 17:07:27 +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=-0.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SBL_CSS, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E568C2A456 for ; Thu, 29 Mar 2018 17:07:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA3056E735; Thu, 29 Mar 2018 17:07:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5EBEF6E750 for ; Thu, 29 Mar 2018 17:07:17 +0000 (UTC) Received: by mail-pf0-x241.google.com with SMTP id a2so1027181pff.8 for ; Thu, 29 Mar 2018 10:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R8o3L0dTZtlwucUEROeKbZ0j3RILHCvogcZbq5j00ek=; b=SwtdwAzaJq4+sMbSdrYGzvWQqEIXRWDlG7Lwiq8rUBvxdeYs26vW8KUTPS1Z0gLMCm lWEQKNw9qQbLE5gNXak+Sqk3K45asQc5+w33s3LbSsMlL+qBFdDnBAAkUpN+zE0MeTMb eO+TARkZ3mYJ8+4eaLwOAPSYKuZhr60//TRzXsziAnXkkOhL5mIhin23/xQX3QpwfNn5 SLWjmRU/Gjow1idBWH3fXFC3PFxAv42W5UviAZBf4DNy7kmZ6qMVOyvVU2TjWbH69KAE 58q1xC1q9zusSdgDkre0TiIqTtDtlybHBf+oxodPp7ydUmoUffMMM2Rpczy9WY3XUIdJ CJcA== 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=R8o3L0dTZtlwucUEROeKbZ0j3RILHCvogcZbq5j00ek=; b=AK58tYE9cCJmxyy6kphywZB2H5SvNmjlPr71MYgcOps9z+dl1+0imH0m2tC7t17jNa 934+4QT7HbG5WFc8CXUgsZmnefh4nIHJzQGoi2uFKrUXVwrhoVf7NhgeO9QOV8Jm39O6 nMRUIXpT4LCjW/2po13XDuOCbIeadFdisI1TnWZhvAJI5+gei/IsxGogeapsRfQZ6biD tgqoiS9f23LAhE0n/Apkl2ZVXLxT6nlwNsQ4Os8CvXfkNk+zUE/MIKad66Vo9NvnJbSA naCU3Odl3adESbqzWX9xZ25hbF/yRlAViAF12mDhJwbM+B39lUO0lwiBq1yoYgkQPlIG ssnw== X-Gm-Message-State: AElRT7H0Ua+Z8EjUDpjf1+WJ/81+oWnoCjrFZ8MuoYLNJxwS1pzl/pfu mHXwfT/wojMcDFtlbKok+fxwuw== X-Google-Smtp-Source: AIpwx4/S/nyRD1hWgnBNyqsXTA6ctWwCo7trQ3JKHj8WpaQHQShvUNVtGMTo5TybJl27LSzvDDx2yw== X-Received: by 10.101.77.13 with SMTP id i13mr6184010pgt.70.1522343236536; Thu, 29 Mar 2018 10:07:16 -0700 (PDT) Received: from localhost.localdomain ([103.246.106.24]) by smtp.gmail.com with ESMTPSA id n27sm11289546pgc.40.2018.03.29.10.07.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 10:07:15 -0700 (PDT) From: Nayan Deshmukh To: dri-devel@lists.freedesktop.org Subject: [PATCH 3/3] drm/scheduler: move the tracepoints file from the include directory Date: Thu, 29 Mar 2018 22:36:33 +0530 Message-Id: <20180329170633.28680-4-nayan26deshmukh@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180329170633.28680-1-nayan26deshmukh@gmail.com> References: <20180329170633.28680-1-nayan26deshmukh@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nayan Deshmukh , christian.koenig@amd.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Move it with the scheduler code. This is mostly a straight forward rename with no code change except for updating the TRACE_INCLUDE_PATH Signed-off-by: Nayan Deshmukh Suggested-by: Christian König Acked-by: Lucas Stach --- drivers/gpu/drm/scheduler/gpu_scheduler.c | 2 +- {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h (97%) diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c index 565b7348db80..698531ed6a43 100644 --- a/drivers/gpu/drm/scheduler/gpu_scheduler.c +++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c @@ -30,7 +30,7 @@ #include #define CREATE_TRACE_POINTS -#include +#include "gpu_scheduler_trace.h" #define to_drm_sched_job(sched_job) \ container_of((sched_job), struct drm_sched_job, queue_node) diff --git a/include/drm/gpu_scheduler_trace.h b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h similarity index 97% rename from include/drm/gpu_scheduler_trace.h rename to drivers/gpu/drm/scheduler/gpu_scheduler_trace.h index 0789e8d0a0e1..4998ad950a48 100644 --- a/include/drm/gpu_scheduler_trace.h +++ b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h @@ -78,5 +78,5 @@ TRACE_EVENT(drm_sched_process_job, /* This part must be outside protection */ #undef TRACE_INCLUDE_PATH -#define TRACE_INCLUDE_PATH . +#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/scheduler #include