20 Aug, 2014
1 commit
-
The Makefiles call the respective interpreter explicitly, but this makes
it easier to use the scripts manually.Signed-off-by: Michal Marek
24 May, 2011
3 commits
-
Also count CONFIG_MODVERSIONS warnings, and print a NOTE at start of
SECTION 2 if any were issued. Section 2 will be empty if the build is
lacking this CONFIG_ item, and user may have missed the warnings, as
they're off screen.Signed-off-by: Jim Cromie
Signed-off-by: Michal Marek -
Sort SECTION 2 modules by name. Within those module listings, sort
the symbol providers by name, and remove the count, as it is
misleading; its the kernel-wide count of uses of that symbol, not the
count pertaining to the module being outlined. (this can be seen by
grepping the output for a single symbol). The count is still used to
sort the symbols.Signed-off-by: Jim Cromie
Signed-off-by: Michal Marek -
Avoid spawning a shell pipeline doing cat, grep, sed, and do it all
inside perl. The globbing construct works at least as far back
as 5.8.9Note that this is not just an optimization; the sed command
in the pipeline was unterminated, due to lack of escape on the
end-of-line (\$) in the regex, resulting in this:$ perl ../linux-2.6/scripts/export_report.pl > /dev/null
sed: -e expression #1, char 5: unterminated `s' command
sh: .mod.c/: not foundComments on an earlier patch sought an all-perl implementation.
Signed-off-by: Jim Cromie
cc: Michal Marek ,
cc: linux-kbuild@vger.kernel.org
cc: Arnaud Lacombe lacombar@gmail.com
cc: Stephen Hemminger shemminger@vyatta.com
Signed-off-by: Michal Marek
08 Mar, 2010
1 commit
-
Use local file handles, use three argument open.
Don't modify arguments in perl grep (use sed instead)Signed-off-by: Stephen Hemminger
Acked-by: WANG Cong
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Michal Marek
13 Oct, 2007
2 commits
-
Fixes some subtle perl coding bug observed
by Jan Engelhardt
This patch applies on top of Adrian's fix.Signed-off-by: Ram Pai
Acked-by: Jan Engelhardt
Signed-off-by: Sam Ravnborg -
This patch fixes an annoying bug of export_report.pl missing the usages
of some exports.Signed-off-by: Adrian Bunk
Signed-off-by: Sam Ravnborg
25 Jun, 2006
1 commit
-
The following patch provides the ability to generate a report of
(1) All the exported symbols and their in-kernel-module usage count
(2) For each module, lists the modules and their exported symbols, on
which it depends.the report can be generated by executing:
perl scripts/export_reportThe tool warns if the modules are not build using MODVERSIONING.
Signed-off-by: Ram Pai
Signed-off-by: Sam Ravnborg