aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorEran Ben Elisha <[email protected]>2019-01-17 23:59:11 +0200
committerDavid S. Miller <[email protected]>2019-01-18 14:51:22 -0800
commit880ee82f0313453ec5a6cb122866ac057263066b (patch)
treeed7d092f3ec6845f631ecdbe17cf46ed1ddd24fa /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentcb5ccfbe73b389470e1dc11061bb185ef4bc9aec (diff)
devlink: Add health reporter create/destroy functionality
Devlink health reporter is an instance for reporting, diagnosing and recovering from run time errors discovered by the reporters. Define it's data structure and supported operations. In addition, expose devlink API to create and destroy a reporter. Each devlink instance will hold it's own reporters list. As part of the allocation, driver shall provide a set of callbacks which will be used the devlink in order to handle health reports and user commands related to this reporter. In addition, driver is entitled to provide some priv pointer, which can be fetched from the reporter by devlink_health_reporter_priv function. For each reporter, devlink will hold a metadata of statistics, buffers and status. Signed-off-by: Eran Ben Elisha <[email protected]> Reviewed-by: Moshe Shemesh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions