From patchwork Wed Sep 30 07:54:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunyan Zhang X-Patchwork-Id: 54290 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id AF88F23002 for ; Wed, 30 Sep 2015 07:58:05 +0000 (UTC) Received: by laak17 with SMTP id k17sf16970195laa.3 for ; Wed, 30 Sep 2015 00:58:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=bsG9Zuy16aWVtOCuA16gLYltX3qEDro+WjN8qwu5jog=; b=iKhosZ/KteZZJzAyypzo0LOH1GgMKP5vw4Jafkj1K88nvI+yUB7MUOjGcfOBA+Sppz eqH0As2tKwEJWShGHNDksHwS2fwIoY2NNi2hwy+3fTTSxsGNj9onqI1kIMsdWjGAqrC+ k6q0/5mgUol6sd8X/NY5XQJBoZMaEiiOIXKrdv0oC/2y2AzdRQCoIOH3BTniK7ahoZkc Xw7Dq2bKsLswdLzx9ck7hDEhD5a6fzFmT8N8tow1QQaz3kRWxlc2z/OJkIw+KWbwV/jD HWicWYH/j7Cwf94RVKEPnf4Y4QsjEWRcaqILkNkw37/Vwl4PLBXZB/9zxm3dcsVWx0vi k9pg== X-Gm-Message-State: ALoCoQlMVoEvejS2BmjUGGRd9ZLKY/H03TIpXU33wyJoOvGyCf5rgAzhUE3wmh9WjZFj32J6Jhac X-Received: by 10.194.6.170 with SMTP id c10mr300029wja.7.1443599884343; Wed, 30 Sep 2015 00:58:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.42.209 with SMTP id q200ls23882lfq.72.gmail; Wed, 30 Sep 2015 00:58:04 -0700 (PDT) X-Received: by 10.112.162.34 with SMTP id xx2mr670236lbb.109.1443599884159; Wed, 30 Sep 2015 00:58:04 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id o4si4283482lah.22.2015.09.30.00.58.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 00:58:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lahh2 with SMTP id h2so36300183lah.0 for ; Wed, 30 Sep 2015 00:58:03 -0700 (PDT) X-Received: by 10.112.129.202 with SMTP id ny10mr636614lbb.112.1443599883708; Wed, 30 Sep 2015 00:58:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2581201lbq; Wed, 30 Sep 2015 00:58:02 -0700 (PDT) X-Received: by 10.68.111.228 with SMTP id il4mr3370764pbb.44.1443599882388; Wed, 30 Sep 2015 00:58:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fl1si43750205pab.174.2015.09.30.00.58.02; Wed, 30 Sep 2015 00:58:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753923AbbI3H6A (ORCPT + 30 others); Wed, 30 Sep 2015 03:58:00 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34290 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184AbbI3H55 (ORCPT ); Wed, 30 Sep 2015 03:57:57 -0400 Received: by padhy16 with SMTP id hy16so32936106pad.1 for ; Wed, 30 Sep 2015 00:57:57 -0700 (PDT) X-Received: by 10.67.8.102 with SMTP id dj6mr3257257pad.123.1443599877314; Wed, 30 Sep 2015 00:57:57 -0700 (PDT) Received: from zcy-ubuntu.spreadtrum.com ([175.111.195.49]) by smtp.gmail.com with ESMTPSA id pm8sm29800389pbc.9.2015.09.30.00.57.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Sep 2015 00:57:56 -0700 (PDT) From: Chunyan Zhang To: rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] Sample: Trace_event: Correct the comments Date: Wed, 30 Sep 2015 15:54:10 +0800 Message-Id: <1443599650-23680-1-git-send-email-zhang.chunyan@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhang.chunyan@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The commit 889204278ccf ("tracing: Update trace-event-sample with TRACE_SYSTEM_VAR documentation") changed TRACE_SYSTEM to 'sample-trace', but didn't make the according change of its name in the comments. Signed-off-by: Chunyan Zhang --- samples/trace_events/trace-events-sample.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/trace_events/trace-events-sample.h b/samples/trace_events/trace-events-sample.h index 8965d1b..4aaa63c 100644 --- a/samples/trace_events/trace-events-sample.h +++ b/samples/trace_events/trace-events-sample.h @@ -4,14 +4,14 @@ * * The define_trace.h below will also look for a file name of * TRACE_SYSTEM.h where TRACE_SYSTEM is what is defined here. - * In this case, it would look for sample.h + * In this case, it would look for sample-trace.h * * If the header name will be different than the system name * (as in this case), then you can override the header name that * define_trace.h will look up by defining TRACE_INCLUDE_FILE * * This file is called trace-events-sample.h but we want the system - * to be called "sample". Therefore we must define the name of this + * to be called "sample-trace". Therefore we must define the name of this * file: * * #define TRACE_INCLUDE_FILE trace-events-sample @@ -106,7 +106,7 @@ * * memcpy(__entry->foo, bar, 10); * - * __dynamic_array: This is similar to array, but can vary is size from + * __dynamic_array: This is similar to array, but can vary its size from * instance to instance of the tracepoint being called. * Like __array, this too has three elements (type, name, size); * type is the type of the element, name is the name of the array.