This can be useful for troubleshooting purposes and this information is not directly available to userland. log output : autofs_notify_daemon: wait id = 0x0000000a, name = 000000009e008b35, type=5, comm = ls autofs_notify_daemon: wait id = 0x00000009, name = 000000009e008b35, type=6, comm = automount Signed-off-by: Roberto Bergantinos Corpas <rbergant@xxxxxxxxxx> --- fs/autofs/waitq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index b04c528b19d3..f1fa81d1c40f 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c @@ -88,9 +88,10 @@ static void autofs_notify_daemon(struct autofs_sb_info *sbi, size_t pktsz; int ret; - pr_debug("wait id = 0x%08lx, name = %.*s, type=%d\n", + pr_debug("wait id = 0x%08lx, name = %.*s, type=%d, comm = %s\n", (unsigned long) wq->wait_queue_token, - wq->name.len, wq->name.name, type); + wq->name.len, wq->name.name, type, + current->comm); memset(&pkt, 0, sizeof(pkt)); /* For security reasons */ -- 2.21.0