summaryrefslogtreecommitdiffstats
path: root/scripts/gen-all-syms
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-all-syms')
-rw-r--r--scripts/gen-all-syms7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/gen-all-syms b/scripts/gen-all-syms
new file mode 100644
index 000000000..d65e196ca
--- /dev/null
+++ b/scripts/gen-all-syms
@@ -0,0 +1,7 @@
+#!/bin/sh
+for i in $*
+do
+ grep "EXPORT_SYMBOL.*(.*)" "$i" \
+ | sed -e "s/EXPORT_SYMBOL.*(/ /" \
+ | sed -e "s/).*$//"
+done