Blame README

Packit 436967
ksc tool
Packit 436967
========
Packit Service c78b1b
A tool to check stablelist symbol usage in  kernel module source code.
Packit 436967
Packit 436967
Options:
Packit 436967
  -h, --help            show this help message and exit
Packit 436967
  -c CONFIG, --config=CONFIG
Packit 436967
                        path to configuration file
Packit 436967
  -d DIRECTORY, --directory=DIRECTORY
Packit 436967
                        path to the directory
Packit 436967
  -i, --internal        to create text files to be used internally
Packit 436967
  -k KO, --ko=KO        path to the ko file
Packit 436967
  -n RELEASENAME, --name=RELEASENAME
Packit 436967
                        Red Hat release against which the bug is to be filed. Default value is 7.0
Packit 436967
  -p PREVIOUS, --previous=PREVIOUS
Packit 436967
                        path to previous resultset to submit as bug
Packit 436967
  -r RELEASE, --release=RELEASE
Packit Service c78b1b
                        RHEL stablelist release to compare against
Packit 436967
  -y SYMVERS, --symvers=SYMVERS
Packit 436967
                        Path to the Module.symvers file. The current kernel
Packit 436967
                        path is used if not specified.
Packit 436967
  -s, --submit          Submit to Red Hat Bugzilla
Packit 436967
  -v, --version         Prints KSC version number
Packit 436967
Packit 436967
Valid architectures for binary modules are x86_64, ppc64, s390x.
Packit 436967
The total symbol usage number will vary depending on which architecture it is running
Packit 436967
against as it depends on the symbols provided by Red Hat kernel on that
Packit 436967
architecture.
Packit 436967
Packit 436967
Example command and output:
Packit 436967
Packit 436967
$ ksc  -d ../drivers/ipw2200-1.1.4
Packit 436967
Packit 436967
Packit Service c78b1b
Total symbol usage: 71  Total Non stable list symbol usage: 3
Packit 436967
Score: 95.77%
Packit 436967