summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-27 00:50:19 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-27 15:48:47 -0400
commit9ce6bbbb0503e58e8629ae0185e916b271237bc3 (patch)
treec0401e79f9b4f45c5f020b72e449210fe6a0d711 /tools/perf/scripts/python/export-to-postgresql.py
parent8a119cef9a84c396c7de49da2fb4b8af09e96d2b (diff)
nfp: add nfp_app cleanup callback and make flower use it
Add a cleanup callback for undoing what app init callback did. Make flower allocate its private structure on init and free it from the new callback. While at it remember to set the app pointer to NULL on the error path to avoid any races while probe path unwinds. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.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