Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752897AbdHKLb4 (ORCPT ); Fri, 11 Aug 2017 07:31:56 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:33771 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752406AbdHKLbz (ORCPT ); Fri, 11 Aug 2017 07:31:55 -0400 From: Pratyush Anand To: rostedt@goodmis.org, Ingo Molnar Cc: linux-kernel@vger.kernel.org, Pratyush Anand Subject: [PATCH] tracer: hwlat: allow to be default bootup tracer Date: Fri, 11 Aug 2017 17:01:21 +0530 Message-Id: X-Mailer: git-send-email 2.9.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 23 hwlat is not a production kernel tracer, however it can be used to identify any HW latency issue during kernel boot as well.Therefore call init_hwlat_tracer() though core_initcall() so that we can pass ftrace=hwlat in kernel commandline parameter and we can have hwlat as default bootup tracer. Signed-off-by: Pratyush Anand --- kernel/trace/trace_hwlat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_hwlat.c b/kernel/trace/trace_hwlat.c index d7c8e4ec3d9d..09f8f0950b6c 100644 --- a/kernel/trace/trace_hwlat.c +++ b/kernel/trace/trace_hwlat.c @@ -630,4 +630,4 @@ __init static int init_hwlat_tracer(void) return 0; } -late_initcall(init_hwlat_tracer); +core_initcall(init_hwlat_tracer); -- 2.9.4