summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>2025-02-07 14:59:25 +0100
committerPaolo Abeni <pabeni@redhat.com>2025-02-11 12:46:37 +0100
commit8cdc56f99e6c33abc855891dbd4d802be06d1404 (patch)
treed5d572a299753de4f32adc6a68c78c9077d27837 /tools/perf/scripts/python/stackcollapse.py
parent60097f03fc7a96fecb4ea9a993397032fe586778 (diff)
mptcp: pm: mark missing address attributes
mptcp_pm_parse_entry() will check if the given attribute is defined. If not, it will return a generic error: "missing address info". It might then not be clear for the userspace developer which attribute is missing, especially when the command takes multiple addresses. By using GENL_REQ_ATTR_CHECK(), the userspace will get a hint about which attribute is missing, making thing clearer. Note that this is what was already done for most of the other MPTCP NL commands, this patch simply adds the missing ones. Reviewed-by: Geliang Tang <geliang@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions