summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2020-03-26 21:37:12 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-27 05:39:26 +0300
commit47a39f6105d360abc8409f31fc36fac3c0925a52 (patch)
treefb9bc73078eff033baa35dca99c8531eb7253d3c /tools/perf/scripts/python/export-to-postgresql.py
parentcf80faee79f98c0608a86e9006af57a99ffad650 (diff)
downloadlinux-47a39f6105d360abc8409f31fc36fac3c0925a52.tar.xz
devlink: use -ENOSPC to indicate no more room for snapshots
The devlink_region_snapshot_create function returns -ENOMEM when the maximum number of snapshots has been reached. This is confusing because it is not an issue of being out of memory. Change this to use -ENOSPC instead. Reported-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions