diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-22 00:39:45 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-22 15:12:06 -0500 |
commit | 7779685f05219ff6e713ee6591644c080f51a8bf (patch) | |
tree | 9f7a372ba75a282de5bec0878cd2e650a257c1e8 /fs/autofs/Kconfig | |
parent | d40413efabc0ab388f6ed83f48b28dc253d47238 (diff) |
log job number in TRACE_TASK() and TRACE_CUR()
For some problems it can be helpful to know which job of a task
generated a log message. This patch changes TRACE_TASK to add :<jobno>
to the existing (<comm>/<pid>) tag.
The result is a trace such as the following, in which the third job of
rtspin/1511 completes and the fourth job is added to the release
queue.
137615 P0: (rtspin/1511:3) job_completion().
137616 P0: (rtspin/1511:4) add_release(), rel=262013223089
137617 P0: (rtspin/1511:4) scheduled_on = NO_CPU
The job number for non-real-time tasks is always zero.
Diffstat (limited to 'fs/autofs/Kconfig')
0 files changed, 0 insertions, 0 deletions