Skip to content

Commit bfc672d

Browse files
taoma-tmJiri Kosina
authored andcommitted
Documentation/trace/events.txt: Remove obsolete sched_signal_send.
'sched_signal_send' doesn't exist in the kernel now. Replace it with 'signal_generate' so that the example in events.txt can be executed successfully. I also change some /debug to /sys/kernel/debug which is debugfs' default mount directory now(similar to commit 52ad51e). Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Randy Dunlap <rdunlap@xenotime.net> Cc: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent ebd1373 commit bfc672d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Documentation/trace/events.txt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ is the size of the data item, in bytes.
125125
For example, here's the information displayed for the 'sched_wakeup'
126126
event:
127127

128-
# cat /debug/tracing/events/sched/sched_wakeup/format
128+
# cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/format
129129

130130
name: sched_wakeup
131131
ID: 60
@@ -201,19 +201,19 @@ to the 'filter' file for the given event.
201201

202202
For example:
203203

204-
# cd /debug/tracing/events/sched/sched_wakeup
204+
# cd /sys/kernel/debug/tracing/events/sched/sched_wakeup
205205
# echo "common_preempt_count > 4" > filter
206206

207207
A slightly more involved example:
208208

209-
# cd /debug/tracing/events/sched/sched_signal_send
209+
# cd /sys/kernel/debug/tracing/events/signal/signal_generate
210210
# echo "((sig >= 10 && sig < 15) || sig == 17) && comm != bash" > filter
211211

212212
If there is an error in the expression, you'll get an 'Invalid
213213
argument' error when setting it, and the erroneous string along with
214214
an error message can be seen by looking at the filter e.g.:
215215

216-
# cd /debug/tracing/events/sched/sched_signal_send
216+
# cd /sys/kernel/debug/tracing/events/signal/signal_generate
217217
# echo "((sig >= 10 && sig < 15) || dsig == 17) && comm != bash" > filter
218218
-bash: echo: write error: Invalid argument
219219
# cat filter

0 commit comments

Comments
 (0)