aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2015-10-12 18:09:09 -0700
committerGreg Kroah-Hartman <[email protected]>2015-10-17 22:09:03 -0700
commitb97f679954b7771183f3c0a6a47b17e185e64a8a (patch)
tree0b91b510adba6a9c2016e603ea1fb624164a3eac /tools/perf/scripts/python/call-graph-from-postgresql.py
parent8346aa765e14348b7b436825b3c4740895a2fe1a (diff)
debugfs: Consolidate file mode checks in debugfs_create_*()
The code that creates debugfs file with different file ops based on the file mode is duplicated in each debugfs_create_*() API. Consolidate that code into debugfs_create_mode(), that takes three file ops structures so that we don't have to keep copy/pasting that logic. Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Viresh Kumar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions