linux-kernel and linux kernel modules ABI tools.
authorJacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Mon, 9 Dec 2013 12:37:39 +0000 (13:37 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:25:51 +0000 (07:25 +0200)
commit8b5081f68e72b36866ca05bd42d34119b8d25836
treef6533be79f8a6ea839647b985156ab0e6266b6b1
parent1436e8652e9dce25d4b4506826e59c329fc200ae
linux-kernel and linux kernel modules ABI tools.

The following changes have been implemented:
    1. A new tool "abi-checker" has been created. The tool allows:
       - compare two Module.symvers files.
       - reports which symbols are new, changed or have been removed.
       - create dump all kernel symbols that are present in external kernel
         module.

    2. linux-3.10.spec has been updated to check changes in kernel ABI/API.
       In case if any change kernel installation process aborts. In such case
       user is requested to update kernel version and update ABI dump file.
       ABI dump file should be located in "abi-checker/data" directory.

    3. Output rpm with uImage has been extended by ABI dump. Default location for
       the file is /boot/abi/_kernel_version_.

    4. New output rpm package is build - "abi-tools". The package delivers ABI-checker.
       By default the rpm install ABI-checker tool into /usr/local/bin directory.

Change-Id: I37a2a52f64fde915cff24aa85349aa1dbee3a5b8
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
abi-checker/data/abi_3.10.19_1 [new file with mode: 0644]
abi-checker/src/Makefile [new file with mode: 0644]
abi-checker/src/build_api_kernel_checker.sh [new file with mode: 0755]
abi-checker/src/kernel_abi_checker.c [new file with mode: 0644]
abi-checker/src/kernel_abi_checker.h [new file with mode: 0644]
abi-checker/src/kernel_abi_checker_elf.c [new file with mode: 0644]
packaging/linux-kernel.spec