Commit Graph

3 Commits

Author SHA1 Message Date
Linqing Lu fa73892346 examples: add cmdline-string.patch as a compatible example
This is a test example currently preferable to proc-version.patch as
crash utility has difficulty parsing /proc/version content after being
altered.

Signed-off-by: Linqing Lu <lilu@redhat.com>
2023-01-25 16:55:55 -05:00
Joe Lawrence 2feeb0f462 examples: add /proc/version kpatch sample
Create a simple kpatch test that should apply across a wide range of
kernels.  The version_proc_show() is a good candidate as it's easy to
verify and hasn't been touched upstream since 2008.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2022-11-07 11:02:00 -05:00
Evgenii Shatokhin c95b2b16a6 examples: Added an example of a problematic patch with an explanation
examples/tcp_cubic-better-follow-cubic-curve-original.patch is the
original patch, combined from two mainline commits (see the description
in the patch). It cannot be used with Kpatch as it is because the
change is in the initialization of a global structure.

examples/tcp_cubic-better-follow-cubic-curve-converted.patch is a
modification of the patch that Kpatch can process. Still, this
modification has its issues, see the description there.

Signed-off-by: Evgenii Shatokhin <eshatokhin@odin.com>
2015-09-30 22:07:53 +03:00