diff options
author | Eran Ben Elisha <[email protected]> | 2020-03-29 14:05:55 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-30 11:17:34 -0700 |
commit | 48bb52c80be0e462328f58ca3a34ecfef3584320 (patch) | |
tree | e4ca68c24b086e6d01ad31640342b1a3beb98d13 /lib | |
parent | ba7d16c7794213b591a0ea415d975858d6a7dfd8 (diff) |
devlink: Add auto dump flag to health reporter
On low memory system, run time dumps can consume too much memory. Add
administrator ability to disable auto dumps per reporter as part of the
error flow handle routine.
This attribute is not relevant while executing
DEVLINK_CMD_HEALTH_REPORTER_DUMP_GET.
By default, auto dump is activated for any reporter that has a dump method,
as part of the reporter registration to devlink.
Signed-off-by: Eran Ben Elisha <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions