summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-05-02 14:37:47 +0300
committerJakub Kicinski <kuba@kernel.org>2024-05-04 01:03:42 +0300
commit136c2a9a2a8760d8dae83ae7c882c50be02bdb63 (patch)
tree3bfba9f27772724438053fc75bef07c765152f70 /tools/perf/scripts/python/exported-sql-viewer.py
parent5829614a7b3b2cc9820efb2d29a205c00d748fcf (diff)
downloadlinux-136c2a9a2a8760d8dae83ae7c882c50be02bdb63.tar.xz
rtnetlink: change rtnl_stats_dump() return value
By returning 0 (or an error) instead of skb->len, we allow NLMSG_DONE to be appended to the current skb at the end of a dump, saving a couple of recvmsg() system calls. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20240502113748.1622637-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions