Centos-kernel-stream-9/tools/testing/ktest/examples
Brian Masney 11db0650a0 bootconfig/tracing/ktest: Update ktest example for boot-time tracing
JIRA: https://issues.redhat.com/browse/RHEL-65546

Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

commit 54b3498d71ae03f70cb7c366d269d0af49d29ec1
Author: Masami Hiramatsu <mhiramat@kernel.org>
Date:   Tue Aug 10 11:08:22 2021 +0900

    bootconfig/tracing/ktest: Update ktest example for boot-time tracing

    Update ktest example for the boot-time tracing with histogram
    options. Note that since the histogram option uses "trace()" action
    instead of "EVENT()", this updates the matching pattern too.

    Link: https://lkml.kernel.org/r/162856130208.203126.4458319094852152589.stgit@devnote2

    Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
    Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

Signed-off-by: Brian Masney <bmasney@redhat.com>
2024-11-06 14:44:56 -05:00
..
bootconfigs bootconfig/tracing/ktest: Update ktest example for boot-time tracing 2024-11-06 14:44:56 -05:00
include bootconfig/tracing/ktest: Add ktest examples of testing bootconfig 2021-06-24 15:34:33 -04:00
README tools/: replace HTTP links with HTTPS ones 2020-08-07 11:33:21 -07:00
crosstests.conf tools/: replace HTTP links with HTTPS ones 2020-08-07 11:33:21 -07:00
kvm.conf bootconfig/tracing/ktest: Add ktest examples of testing bootconfig 2021-06-24 15:34:33 -04:00
snowball.conf
test.conf
vmware.conf ktest: Add example config for using VMware VMs 2021-05-03 18:57:02 -04:00

README

This directory contains example configs to use ktest for various tasks.
The configs still need to be customized for your environment, but it
is broken up by task which makes it easier to understand how to set up
ktest.

The configs are based off of real working configs but have been modified
and commented to show more generic use cases that are more helpful for
developers.

crosstests.conf - this config shows an example of testing a git repo against
    lots of different architectures. It only does build tests, but makes
    it easy to compile test different archs. You can download the arch
    cross compilers from:
  https://kernel.org/pub/tools/crosstool/files/bin/x86_64/

test.conf - A generic example of a config. This is based on an actual config
     used to perform real testing.

kvm.conf - A example of a config that is used to test a virtual guest running
     on a host.

snowball.conf - An example config that was used to demo ktest.pl against
     a snowball ARM board.

include/  -  The include directory holds default configs that can be
    included into other configs. This is a real use example that shows how
    to reuse configs for various machines or set ups. The files here
    are included by other config files, where the other config files define
    options and variables that will make the included config work for the
    given environment.