diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-06-30 22:47:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-01 09:44:24 -0400 |
commit | 020e5f85cb087a40572c8b8b2dd06292a14fa212 (patch) | |
tree | d1bd09885693dd9d5e9db995cb0f7f58aa0e1bb8 /Documentation | |
parent | c5cb5a2d8d7dc872cf1504091ad0e59fe5ff7cb5 (diff) |
tracing/events: Add trace_event boot option
We already have ftrace= boot option, and this adds a similar
boot option for trace events, so allow trace events to be
enabled at boot, for boot debugging purpose.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A4ACE29.3010407@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 5 | ||||
-rw-r--r-- | Documentation/trace/events.txt | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index d3f41db3ed49..2582e7aea29f 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -2478,6 +2478,11 @@ and is between 256 and 4096 characters. It is defined in the file | |||
2478 | trace_buf_size=nn[KMG] | 2478 | trace_buf_size=nn[KMG] |
2479 | [FTRACE] will set tracing buffer size. | 2479 | [FTRACE] will set tracing buffer size. |
2480 | 2480 | ||
2481 | trace_event=[event-list] | ||
2482 | [FTRACE] Set and start specified trace events in order | ||
2483 | to facilitate early boot debugging. | ||
2484 | See also Documentation/trace/events.txt | ||
2485 | |||
2481 | trix= [HW,OSS] MediaTrix AudioTrix Pro | 2486 | trix= [HW,OSS] MediaTrix AudioTrix Pro |
2482 | Format: | 2487 | Format: |
2483 | <io>,<irq>,<dma>,<dma2>,<sb_io>,<sb_irq>,<sb_dma>,<mpu_io>,<mpu_irq> | 2488 | <io>,<irq>,<dma>,<dma2>,<sb_io>,<sb_irq>,<sb_dma>,<mpu_io>,<mpu_irq> |
diff --git a/Documentation/trace/events.txt b/Documentation/trace/events.txt index f157d7594ea7..2bcc8d4dea29 100644 --- a/Documentation/trace/events.txt +++ b/Documentation/trace/events.txt | |||
@@ -83,6 +83,15 @@ When reading one of these enable files, there are four results: | |||
83 | X - there is a mixture of events enabled and disabled | 83 | X - there is a mixture of events enabled and disabled |
84 | ? - this file does not affect any event | 84 | ? - this file does not affect any event |
85 | 85 | ||
86 | 2.3 Boot option | ||
87 | --------------- | ||
88 | |||
89 | In order to facilitate early boot debugging, use boot option: | ||
90 | |||
91 | trace_event=[event-list] | ||
92 | |||
93 | The format of this boot option is the same as described in section 2.1. | ||
94 | |||
86 | 3. Defining an event-enabled tracepoint | 95 | 3. Defining an event-enabled tracepoint |
87 | ======================================= | 96 | ======================================= |
88 | 97 | ||