bootconfig/tracing/ktest: Update ktest example for boot-time tracingUpdate ktest example for the boot-time tracing with histogramoptions. Note that since the histogram option uses "trace()" action
bootconfig/tracing/ktest: Update ktest example for boot-time tracingUpdate ktest example for the boot-time tracing with histogramoptions. Note that since the histogram option uses "trace()" actioninstead of "EVENT()", this updates the matching pattern too.Link: https://lkml.kernel.org/r/162856130208.203126.4458319094852152589.stgit@devnote2Signed-off-by: Masami Hiramatsu <[email protected]>Signed-off-by: Steven Rostedt (VMware) <[email protected]>
show more ...
bootconfig/tracing/ktest: Add ktest examples of testing bootconfigbootconfig is a new feature that appends scripts onto the initrd, and thekernel executes the scripts as an extended kernel command
bootconfig/tracing/ktest: Add ktest examples of testing bootconfigbootconfig is a new feature that appends scripts onto the initrd, and thekernel executes the scripts as an extended kernel command line.Need to add tests to test that the happened. To test the bootconfigproperly, the initrd needs to be updated and the kernel rebooted. ktest isthe perfect solution to perform these tests.Add a example bootconfig.conf in the tools/testing/ktest/examples/includeand example bootconfig scripts in tools/testing/ktest/examples/bootconfigand also include verifier scripts that ktest will install on the targetand run to make sure that the bootconfig options in the scripts took placeafter the target rebooted with the new initrd update.Link: https://lkml.kernel.org/r/[email protected]Reviewed-by: Masami Hiramatsu <[email protected]>Signed-off-by: Steven Rostedt (VMware) <[email protected]>