diff options
Diffstat (limited to 'Documentation/trace/events.txt')
-rw-r--r-- | Documentation/trace/events.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/trace/events.txt b/Documentation/trace/events.txt index 09bd8e902989..b510564aac7e 100644 --- a/Documentation/trace/events.txt +++ b/Documentation/trace/events.txt | |||
@@ -125,7 +125,7 @@ is the size of the data item, in bytes. | |||
125 | For example, here's the information displayed for the 'sched_wakeup' | 125 | For example, here's the information displayed for the 'sched_wakeup' |
126 | event: | 126 | event: |
127 | 127 | ||
128 | # cat /debug/tracing/events/sched/sched_wakeup/format | 128 | # cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/format |
129 | 129 | ||
130 | name: sched_wakeup | 130 | name: sched_wakeup |
131 | ID: 60 | 131 | ID: 60 |
@@ -201,19 +201,19 @@ to the 'filter' file for the given event. | |||
201 | 201 | ||
202 | For example: | 202 | For example: |
203 | 203 | ||
204 | # cd /debug/tracing/events/sched/sched_wakeup | 204 | # cd /sys/kernel/debug/tracing/events/sched/sched_wakeup |
205 | # echo "common_preempt_count > 4" > filter | 205 | # echo "common_preempt_count > 4" > filter |
206 | 206 | ||
207 | A slightly more involved example: | 207 | A slightly more involved example: |
208 | 208 | ||
209 | # cd /debug/tracing/events/sched/sched_signal_send | 209 | # cd /sys/kernel/debug/tracing/events/signal/signal_generate |
210 | # echo "((sig >= 10 && sig < 15) || sig == 17) && comm != bash" > filter | 210 | # echo "((sig >= 10 && sig < 15) || sig == 17) && comm != bash" > filter |
211 | 211 | ||
212 | If there is an error in the expression, you'll get an 'Invalid | 212 | If there is an error in the expression, you'll get an 'Invalid |
213 | argument' error when setting it, and the erroneous string along with | 213 | argument' error when setting it, and the erroneous string along with |
214 | an error message can be seen by looking at the filter e.g.: | 214 | an error message can be seen by looking at the filter e.g.: |
215 | 215 | ||
216 | # cd /debug/tracing/events/sched/sched_signal_send | 216 | # cd /sys/kernel/debug/tracing/events/signal/signal_generate |
217 | # echo "((sig >= 10 && sig < 15) || dsig == 17) && comm != bash" > filter | 217 | # echo "((sig >= 10 && sig < 15) || dsig == 17) && comm != bash" > filter |
218 | -bash: echo: write error: Invalid argument | 218 | -bash: echo: write error: Invalid argument |
219 | # cat filter | 219 | # cat filter |