diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-06-12 13:11:47 +0200 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-06-12 13:11:47 +0200 |
commit | 104d1541f8e6bdcd0dec4e98941d079d44db3e47 (patch) | |
tree | 0e9c49d150a4e3d6ac7e6ac8c557cefca0c82fe7 | |
parent | d4757b140364cd277f7f7f373475eb427003cb42 (diff) | |
download | seitan-104d1541f8e6bdcd0dec4e98941d079d44db3e47.tar seitan-104d1541f8e6bdcd0dec4e98941d079d44db3e47.tar.gz seitan-104d1541f8e6bdcd0dec4e98941d079d44db3e47.tar.bz2 seitan-104d1541f8e6bdcd0dec4e98941d079d44db3e47.tar.lz seitan-104d1541f8e6bdcd0dec4e98941d079d44db3e47.tar.xz seitan-104d1541f8e6bdcd0dec4e98941d079d44db3e47.tar.zst seitan-104d1541f8e6bdcd0dec4e98941d079d44db3e47.zip |
filter: increment counter only if call has args
-rw-r--r-- | cooker/filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cooker/filter.c b/cooker/filter.c index 69b8523..7f1f419 100644 --- a/cooker/filter.c +++ b/cooker/filter.c @@ -183,6 +183,8 @@ void filter_flush_args() debug(" BPF: flush filter information for #%lu", current_nr); + if (!has_args(current_nr)) + return; call->count++; index_entries++; } |