aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2019-03-27 09:44:11 +0100
committerDavid S. Miller <[email protected]>2019-03-27 11:10:57 -0700
commit7cb5e368591a2100a9c079b926991d093b76e1bb (patch)
tree078fb5c7690062c67003ff07bc9ba6cbbe224de0 /tools/perf/scripts/python/export-to-sqlite.py
parent0b27f8650f20714c49b797da278a4bb86843209c (diff)
net: mvpp2: debugfs: Store debugfs entries data in mvpp2 struct
The current way to store the required private data needed to access various debugfs entries is to alloc them on the fly, share them within the entries that need to access them, and finally have one entry free that data upon closing. This leads to hard to maintain code, and is very error-prone. This commit stores all debugfs related data in the same place, making sure this is allocated only when the debugfs directory is successfully created, so that we don't waste memory when we don't use this feature. Signed-off-by: Maxime Chevallier <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions