public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: SeongJae Park <sj38.park@gmail.com>
Cc: peterz@infradead.org, mingo@redhat.com,
	alexander.shishkin@linux.intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] perf-script-python,perl.txt: Fix typos
Date: Wed, 7 Jun 2017 20:19:14 -0300	[thread overview]
Message-ID: <20170607231914.GD6949@kernel.org> (raw)
In-Reply-To: <20170530111827.21732-3-sj38.park@gmail.com>

Em Tue, May 30, 2017 at 08:18:24PM +0900, SeongJae Park escreveu:
> This commit fixes two typos in documents for perf-script-python and
> perf-script-perl as below:
> 
> - /sys/kernel/debug/tracing events -> /sys/kernel/debug/tracing/events/
> - trace_handled -> trace_unhandled

Thanks, applied to perf/urgent.

- Arnaldo
 
> Signed-off-by: SeongJae Park <sj38.park@gmail.com>
> Fixes: cff68e582237 ("perf/scripts: Add perf-trace-python Documentation")
> ---
>  tools/perf/Documentation/perf-script-perl.txt   | 2 +-
>  tools/perf/Documentation/perf-script-python.txt | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/tools/perf/Documentation/perf-script-perl.txt b/tools/perf/Documentation/perf-script-perl.txt
> index dfbb506d2c34..142606c0ec9c 100644
> --- a/tools/perf/Documentation/perf-script-perl.txt
> +++ b/tools/perf/Documentation/perf-script-perl.txt
> @@ -39,7 +39,7 @@ EVENT HANDLERS
>  When perf script is invoked using a trace script, a user-defined
>  'handler function' is called for each event in the trace.  If there's
>  no handler function defined for a given event type, the event is
> -ignored (or passed to a 'trace_handled' function, see below) and the
> +ignored (or passed to a 'trace_unhandled' function, see below) and the
>  next event is processed.
>  
>  Most of the event's field values are passed as arguments to the
> diff --git a/tools/perf/Documentation/perf-script-python.txt b/tools/perf/Documentation/perf-script-python.txt
> index 54acba221558..087b87c956ba 100644
> --- a/tools/perf/Documentation/perf-script-python.txt
> +++ b/tools/perf/Documentation/perf-script-python.txt
> @@ -321,7 +321,7 @@ So those are the essential steps in writing and running a script.  The
>  process can be generalized to any tracepoint or set of tracepoints
>  you're interested in - basically find the tracepoint(s) you're
>  interested in by looking at the list of available events shown by
> -'perf list' and/or look in /sys/kernel/debug/tracing events for
> +'perf list' and/or look in /sys/kernel/debug/tracing/events/ for
>  detailed event and field info, record the corresponding trace data
>  using 'perf record', passing it the list of interesting events,
>  generate a skeleton script using 'perf script -g python' and modify the
> @@ -437,7 +437,7 @@ EVENT HANDLERS
>  When perf script is invoked using a trace script, a user-defined
>  'handler function' is called for each event in the trace.  If there's
>  no handler function defined for a given event type, the event is
> -ignored (or passed to a 'trace_handled' function, see below) and the
> +ignored (or passed to a 'trace_unhandled' function, see below) and the
>  next event is processed.
>  
>  Most of the event's field values are passed as arguments to the
> -- 
> 2.13.0

  reply	other threads:[~2017-06-07 23:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30 11:18 [PATCH 0/5] perf: Fix few nitpicks in perf-script SeongJae Park
2017-05-30 11:18 ` [PATCH 1/5] perf script: Fix outdated comment for perf-trace-python SeongJae Park
2017-06-07 23:19   ` Arnaldo Carvalho de Melo
2017-06-08 22:46   ` [tip:perf/urgent] " tip-bot for SeongJae Park
2017-05-30 11:18 ` [PATCH 2/5] perf-script-python,perl.txt: Fix typos SeongJae Park
2017-06-07 23:19   ` Arnaldo Carvalho de Melo [this message]
2017-06-08 22:47   ` [tip:perf/urgent] perf script: Fix documentation errors tip-bot for SeongJae Park
2017-05-30 11:18 ` [PATCH 3/5] perf-script-python.txt: Polish command examples SeongJae Park
2017-06-08 22:49   ` [tip:perf/urgent] perf script python: Remove dups in documentation examples tip-bot for SeongJae Park
2017-05-30 11:18 ` [PATCH 4/5] perf-script-python.txt: Fix wrong code snippets SeongJae Park
2017-06-07 23:35   ` Arnaldo Carvalho de Melo
2017-06-07 23:47     ` SeongJae Park
2017-06-08 22:47   ` [tip:perf/urgent] perf script python: Fix wrong code snippets in documentation tip-bot for SeongJae Park
2017-05-30 11:18 ` [PATCH 5/5] perf-script-python.txt: Apply updated trace_unhandled() definition SeongJae Park
2017-06-07 23:27   ` Arnaldo Carvalho de Melo
2017-06-08 22:48   ` [tip:perf/urgent] perf script python: Updated trace_unhandled() signature tip-bot for SeongJae Park
2017-06-07 22:42 ` [PATCH 0/5] perf: Fix few nitpicks in perf-script SeongJae Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170607231914.GD6949@kernel.org \
    --to=acme@kernel.org \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=sj38.park@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox