diff options
author | Jacob Keller <[email protected]> | 2020-03-26 11:37:09 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-26 19:39:26 -0700 |
commit | a0a09f6bb2c1501e24246edf2a7d42558d263b2b (patch) | |
tree | 103b9278bb7f89a40aa2ecde3251eb7b1c0eb77b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | e8937681797c9af491c8a1e362a9db4f4aa1f471 (diff) |
devlink: convert snapshot destructor callback to region op
It does not makes sense that two snapshots for a given region would use
different destructors. Simplify snapshot creation by adding
a .destructor op for regions.
This operation will replace the data_destructor for the snapshot
creation, and makes snapshot creation easier.
Noticed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions