From 2eb29401a132e56b70c061fb4bfaccef28717000 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 20 Oct 2018 21:02:04 +0200 Subject: extrace: ignore PROC_EVENT_NONE events Closes #6. --- extrace.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extrace.c b/extrace.c index 38f92c7..bbf68b4 100644 --- a/extrace.c +++ b/extrace.c @@ -587,6 +587,9 @@ usage: (struct sockaddr *)&from_nla, &from_nla_len); if (from_nla.nl_pid != 0 || recv_len < 1) continue; + + if (cproc->what == PROC_EVENT_NONE) + continue; if (last_seq[cproc->cpu] && cmsg->seq != last_seq[cproc->cpu] + 1) -- cgit 1.4.1