From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756264AbbCCNjK (ORCPT ); Tue, 3 Mar 2015 08:39:10 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:34326 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752772AbbCCNjJ (ORCPT ); Tue, 3 Mar 2015 08:39:09 -0500 From: Hou Pengyang To: , CC: , Subject: [PATCH] ftrace: Fix comments about trace/ftrace.h Date: Tue, 3 Mar 2015 21:48:18 +0000 Message-ID: <1425419298-61941-1-git-send-email-houpengyang@huawei.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <20150302230609.7a9670c9@grimm.local.home> References: <20150302230609.7a9670c9@grimm.local.home> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.197.185] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit f42c85e74faa422cf0bc747ed808681145448f88 moved tracepoint's ftrace creation into include/trace/ftrace.h and trace/define_trach.h was deleted as a result. However some comment info does not adapt to the change, which is such a misguiding when reading related code. This patch fix this by moving trace/trace_events.h to , since tracepoint headers have already been moved to tarce/events/. Signed-off-by: Hou Pengyang --- include/trace/ftrace.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 41bf65f..44f9a98 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h @@ -1,7 +1,8 @@ /* * Stage 1 of the trace events. * - * Override the macros in to include the following: + * Override the macros in the event tracepoint header + * to include the following: * * struct ftrace_raw_ { * struct trace_entry ent; @@ -170,7 +171,8 @@ /* * Stage 3 of the trace events. * - * Override the macros in to include the following: + * Override the macros in the event tracepoint header + * to include the following: * * enum print_line_t * ftrace_raw_output_(struct trace_iterator *iter, int flags) @@ -479,7 +481,8 @@ static inline notrace int ftrace_get_offsets_##call( \ /* * Stage 4 of the trace events. * - * Override the macros in to include the following: + * Override the macros in the event tracepoint header + * to include the following: * * For those macros defined with TRACE_EVENT: * -- 1.8.3.4