LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] perf: Document default event for perf record
@ 2011-01-22 11:18 Michal Sojka
  2011-01-24 13:05 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Sojka @ 2011-01-22 11:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michal Sojka, Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo

The description of -e option was reformatted (unindented and enclosed
in an OpenBlock) in order to render the added line correctly.
---
 tools/perf/Documentation/perf-record.txt |   28 ++++++++++++++++------------
 1 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
index e032716..bfcf3f2 100644
--- a/tools/perf/Documentation/perf-record.txt
+++ b/tools/perf/Documentation/perf-record.txt
@@ -27,18 +27,22 @@ OPTIONS
 -e::
 --event=::
 	Select the PMU event. Selection can be:
-
-        - a symbolic event name	(use 'perf list' to list all events)
-
-        - a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a
-	  hexadecimal event descriptor.
-
-        - a hardware breakpoint event in the form of '\mem:addr[:access]'
-          where addr is the address in memory you want to break in.
-          Access is the memory access type (read, write, execute) it can
-          be passed as follows: '\mem:addr[:[r][w][x]]'.
-          If you want to profile read-write accesses in 0x1000, just set
-          'mem:0x1000:rw'.
++
+--
+- a symbolic event name	(use 'perf list' to list all events)
+
+- a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a
+  hexadecimal event descriptor.
+
+- a hardware breakpoint event in the form of '\mem:addr[:access]'
+  where addr is the address in memory you want to break in.
+  Access is the memory access type (read, write, execute) it can
+  be passed as follows: '\mem:addr[:[r][w][x]]'.
+  If you want to profile read-write accesses in 0x1000, just set
+  'mem:0x1000:rw'.
+
+By default, 'cpu-cycles' event is selected.
+--
 
 --filter=<filter>::
         Event filter.
-- 
1.7.2.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] perf: Document default event for perf record
  2011-01-22 11:18 [PATCH] perf: Document default event for perf record Michal Sojka
@ 2011-01-24 13:05 ` Arnaldo Carvalho de Melo
  2011-01-24 13:10   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2011-01-24 13:05 UTC (permalink / raw)
  To: Michal Sojka; +Cc: linux-kernel, Peter Zijlstra, Paul Mackerras, Ingo Molnar

Em Sat, Jan 22, 2011 at 12:18:37PM +0100, Michal Sojka escreveu:
> The description of -e option was reformatted (unindented and enclosed
> in an OpenBlock) in order to render the added line correctly.

Thanks, applying to perf/core.

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] perf: Document default event for perf record
  2011-01-24 13:05 ` Arnaldo Carvalho de Melo
@ 2011-01-24 13:10   ` Arnaldo Carvalho de Melo
  2011-01-24 13:16     ` Michal Sojka
  0 siblings, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2011-01-24 13:10 UTC (permalink / raw)
  To: Michal Sojka; +Cc: linux-kernel, Peter Zijlstra, Paul Mackerras, Ingo Molnar

Em Mon, Jan 24, 2011 at 11:05:40AM -0200, Arnaldo Carvalho de Melo escreveu:
> Em Sat, Jan 22, 2011 at 12:18:37PM +0100, Michal Sojka escreveu:
> > The description of -e option was reformatted (unindented and enclosed
> > in an OpenBlock) in order to render the added line correctly.
> 
> Thanks, applying to perf/core.

Erm, can you please provide your Signed-off-by as requested in:

Documentation/SubmittingPatches

?

Thanks a lot,

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] perf: Document default event for perf record
  2011-01-24 13:10   ` Arnaldo Carvalho de Melo
@ 2011-01-24 13:16     ` Michal Sojka
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Sojka @ 2011-01-24 13:16 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Peter Zijlstra, Paul Mackerras, Ingo Molnar

The description of -e option was reformatted (unindented and enclosed
in an OpenBlock) in order to render the added line correctly.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
---
 tools/perf/Documentation/perf-record.txt |   28 ++++++++++++++++------------
 1 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
index e032716..bfcf3f2 100644
--- a/tools/perf/Documentation/perf-record.txt
+++ b/tools/perf/Documentation/perf-record.txt
@@ -27,18 +27,22 @@ OPTIONS
 -e::
 --event=::
 	Select the PMU event. Selection can be:
-
-        - a symbolic event name	(use 'perf list' to list all events)
-
-        - a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a
-	  hexadecimal event descriptor.
-
-        - a hardware breakpoint event in the form of '\mem:addr[:access]'
-          where addr is the address in memory you want to break in.
-          Access is the memory access type (read, write, execute) it can
-          be passed as follows: '\mem:addr[:[r][w][x]]'.
-          If you want to profile read-write accesses in 0x1000, just set
-          'mem:0x1000:rw'.
++
+--
+- a symbolic event name	(use 'perf list' to list all events)
+
+- a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a
+  hexadecimal event descriptor.
+
+- a hardware breakpoint event in the form of '\mem:addr[:access]'
+  where addr is the address in memory you want to break in.
+  Access is the memory access type (read, write, execute) it can
+  be passed as follows: '\mem:addr[:[r][w][x]]'.
+  If you want to profile read-write accesses in 0x1000, just set
+  'mem:0x1000:rw'.
+
+By default, 'cpu-cycles' event is selected.
+--
 
 --filter=<filter>::
         Event filter.
-- 
1.7.2.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-24 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-22 11:18 [PATCH] perf: Document default event for perf record Michal Sojka
2011-01-24 13:05 ` Arnaldo Carvalho de Melo
2011-01-24 13:10   ` Arnaldo Carvalho de Melo
2011-01-24 13:16     ` Michal Sojka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).