aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorBhumika Goyal <[email protected]>2016-09-16 02:09:08 +0530
committerGreg Kroah-Hartman <[email protected]>2016-09-16 10:27:52 +0200
commit521865a8c9a8d4a189355339457d96b62699eb35 (patch)
tree7acb5df111be00642715b434535565314651aca7 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent52edd01ffdc094465906f34ba78aec0bc0f2eedc (diff)
Staging: comedi: s626: Remove all unused functions
Remove all #ifdef'ed static functions as they are not used anywhere in the kernel. Some functions were detected using Coccinelle but removed by hand and some were removed as the functions in which they were getting used were also unused functions. Script: @initialize:python@ @@ def display(name,p): print(name,p[0].file) @r1@ identifier func; type T; position p; @@ static T func@p(...) { ... } @r@ identifier r1.func; @@ func @script:python depends on !r@ func << r1.func; p << r1.p; @@ display(func,p) Signed-off-by: Bhumika Goyal <[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