aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMD Danish Anwar <[email protected]>2024-09-06 15:06:49 +0530
committerJakub Kicinski <[email protected]>2024-09-09 17:43:06 -0700
commit9e70eb4a9a8e61105932def55f4667d9a0055381 (patch)
tree831be95cecc69dc6bf6173bd692c64dd5c8c973b /tools/perf/util/scripting-engines/trace-event-python.c
parent5aa3b55bb312c389bc7bf9d8c220d7cc5cab04a3 (diff)
net: ti: icssg-prueth: Make pa_stats optional
pa_stats is optional in dt bindings, make it optional in driver as well. Currently if pa_stats syscon regmap is not found driver returns -ENODEV. Fix this by not returning an error in case pa_stats is not found and continue generating ethtool stats without pa_stats. Fixes: 550ee90ac61c ("net: ti: icssg-prueth: Add support for PA Stats") Signed-off-by: MD Danish Anwar <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions