Skip to contentSkip to conversation

export symbol report: overview

PATCH In review Ram Pai 2 participants 3 messages Apr 22, 2006 – Apr 26, 2006

lore
Share & tools
lore

Ram Pai

author
#0 lore raw

PATCH 1/3 export symbol report: overview

This patch series enables on-demand report generation of export symbol usage by inkernel modules.

A report generated by executing
make allmodconfig
make exportcheck
is available at http://www.sudhaa.com/~ram/misc/new_export_report.txt

The same report can also be generated by executing from the top level directory:
perl scripts/export_report.pl

This report lists:
1. the usage count of all exported symbols by in-kernel modules.
2. For each in-kernel module lists
a) the in-kernel modules it depend on.
b) list of exported symbols from that in-kernel modules it depend on.

Highlights:
On x86 architecture
(1) 880 exported symbols not used by any in-kernel modules.
(2) 1792 exported symbols used only once.

Thanks to Adrian Bunk, Arjan, Sam Ravnborg, Dagfinn Ilmari for their valuable comments. All comments have been incorporated.

author
#1 lore raw
Quoted 18 lines · Ram Pai

This patch series enables on-demand report generation of export symbol usage by inkernel modules.

A report generated by executing

(quoted diff) +0 -0
 	make allmodconfig
 	make exportcheck

is available at http://www.sudhaa.com/~ram/misc/new_export_report.txt

The same report can also be generated by executing from the top level directory:
perl scripts/export_report.pl

This report lists:
1. the usage count of all exported symbols by in-kernel modules.
2. For each in-kernel module lists
a) the in-kernel modules it depend on.
b) list of exported symbols from that in-kernel modules it depend on.

Quoted 7 lines

Highlights:
On x86 architecture
(1) 880 exported symbols not used by any in-kernel modules.
(2) 1792 exported symbols used only once.

Thanks to Adrian Bunk, Arjan, Sam Ravnborg, Dagfinn Ilmari for their valuable comments. All comments have been incorporated.

Since I have not heard anything bad about these patches, shall I request Andrew to apply them to his tree?

RP

#2 lore raw
Quoted 2 lines · Ram Pai

Since I have not heard anything bad about these patches, shall I request Andrew to apply them to his tree?

I will go through them when healt condition allows it. Seems to take a few more days still. And then some bug-fixing needs to be sorted out first.

Sam