]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: Add devlink health dump clear command
authorAya Levin <ayal@mellanox.com>
Thu, 28 Feb 2019 12:13:02 +0000 (14:13 +0200)
committerDavid Ahern <dsahern@gmail.com>
Thu, 28 Feb 2019 15:56:10 +0000 (07:56 -0800)
commit04b583d0fff3496c5f5cd9aa3b2fb1fc23398909
treeddb8f25270d242362730961e05e39c408b176b31
parent041e6e651a8ef9b0d0cb770ef0bd01f5ccda2e2f
devlink: Add devlink health dump clear command

Add devlink dump clear command which deletes the last saved dump file.
Clearing the last saved dump enables a new dump file to be saved.
Example:
$ devlink health dump clear pci/0000:00:09.0 reporter tx

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
devlink/devlink.c