aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChristian Lamparter <[email protected]>2016-09-17 21:43:01 +0200
committerGreg Kroah-Hartman <[email protected]>2016-09-21 12:13:31 +0200
commit86f0e06767dda7863d6d2a8f0b3b857e6ea876a0 (patch)
tree0bba8aec84b2143fa932cc40e4ea8738d859463a /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2f5bb02ff22414ce156cacb163dd594b017af357 (diff)
debugfs: introduce a public file_operations accessor
This patch introduces an accessor which can be used by the users of debugfs (drivers, fs, ...) to get the original file_operations struct. It also removes the REAL_FOPS_DEREF macro in file.c and converts the code to use the public version. Previously, REAL_FOPS_DEREF was only available within the file.c of debugfs. But having a public getter available for debugfs users is important as some drivers (carl9170 and b43) use the pointer of the original file_operations in conjunction with container_of() within their debugfs implementations. Reviewed-by: Nicolai Stange <[email protected]> Signed-off-by: Christian Lamparter <[email protected]> Cc: stable <[email protected]> # 4.7+ 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