History log of /external/ltp/testcases/kdump/lib/kprobes/Makefile
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b212028ee1ac772ef3a9866681c7f61e8755a300 18-Jan-2008 subrata_modak <subrata_modak> Huge Changes from Cai Qian <qcai@redhat.com>. Please see the Description below:

The updated version
has the following improvments,

- simplify maintenance

- fix several bugs

- better automation

- extend support on Debian and Fedora

- merge Poornima Nayak <Poornima.Nayak@in.ibm.com> 's latest patch

- other changes

The new version simplifies code layout, and all tools under lib/
directory are standalone and reusable, all configurable variables are
under the file runkdump.conf. There are also included sample
configuration files for different distros and test components. In
addition, it avoided code duplication by merging RHEL and SLES specified
code in lkdtm module together, and add a checking before hand. The
working flow in main script has also been tidied up. verify and
verify_dump have been unified. unused file "summary" has been deleted.

In previous version,
* The part of comparing kernel version in setup will not work proper
if the kernel grows to something like 2.7.1 or 2.8.1.
* verify_dump will not able to find previous vmcore if vmcore creation
and vmcore verfication happen at different hours.
* Other random bugs because of code complexity.

In the new version, once you define everything in a config file, it will
run in an automatically fashion on some of systems, if there is proper
tools installed.

The code has been rewritten in POSIX shell syntax, and made more
portable, and attempted to remove hard-coded stuff as much as
possible. It has been tested fairly on RHEL5.1, SLES10sp1, Debian
unstable, and Fedora 8. If needed I can send you result logs. Sachin
has done a quick test on PPC64 machine running RHEL5.1 and the script
run fine. Poornima has done some code review.

Poornima's patch has been merged,
1. Crashkerenl reservation check is modified to support any craskernel
value.
2. A message before system reboots
3. Added one more line to 'status' if dump verification passed.
4. Modified 'README' file
5. If kdump start fails for invalid arguments in kdump.conf is fixed
6. Replaced MAKE_OPTS with MAKE_OPTIONS.
7. Removed some unwanted statements.

Other changes included that all tests descriptions have been documented
in doc/ALL_TEST.txt. KNLD (dump over scp with link delay) test case has
been merged into KNSCP (dump over scp). Once LINK_DELAY has been defined
somewhere in configuration file, all test cases (KNSCP and KNNFS)
dumping to a network destination will take advantage of it. If
LINK_DELAY is not defined or equals to 0, KNSCP and KNNFS will just the
same as in previous version.

Cai Qian
/external/ltp/testcases/kdump/lib/kprobes/Makefile