summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2024-11-15 19:52:35 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-19 05:50:13 +0300
commit1d7fa6ceb91fddbe38cae3521d5d1075bce6a00e (patch)
treebe895917bbbc304ad0ee25cd8e98f3aa3a8e1c8b /tools/perf/scripts/python/exported-sql-viewer.py
parent3fbb27b7f87e60324cec7d2d10a40884182c99d4 (diff)
downloadlinux-1d7fa6ceb91fddbe38cae3521d5d1075bce6a00e.tar.xz
mptcp: pm: avoid code duplication to lookup endp
The helper __lookup_addr() can be used in mptcp_pm_nl_get_local_id() and mptcp_pm_nl_is_backup() to simplify the code, and avoid code duplication. Co-developed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20241115-net-next-mptcp-pm-lockless-dump-v1-2-f4a1bcb4ca2c@kernel.org 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