/openbmc/linux/Documentation/dev-tools/ |
H A D | gcov.rst | 1 Using gcov with the Linux kernel 4 gcov profiling kernel support enables the use of GCC's coverage testing 6 is exported in gcov-compatible format via the "gcov" debugfs directory. 8 directory and use gcov with the ``-o`` option as follows (requires root):: 10 # cd /tmp/linux-out 11 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c 14 in the current directory. In addition, graphical gcov front-ends such 25 .. _gcov: https://gcc.gnu.org/onlinedocs/gcc/Gcov.html 30 ----------- 48 mount -t debugfs none /sys/kernel/debug [all …]
|
/openbmc/linux/arch/um/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "Enable gprof support" 7 This allows profiling of a User-Mode Linux kernel with the gprof 10 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more 16 config GCOV config 17 bool "Enable gcov support" 25 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more 28 If you're involved in UML kernel development and want to use gcov,
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-target.inc | 1 GCCMULTILIB = "--enable-multilib" 2 require gcc-configure-common.inc 5 --with-gxx-libcxx-include-dir=${target_includedir}/c++/v1 \ 6 --with-build-sysroot=${STAGING_DIR_TARGET} \ 9 EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu" 12 # be compatible with that of gcc-runtime (which is cross compiled to be target 14 # affect the ABI in the gcc-runtime libs. Since we can't rely on gcc on the 15 # target to always be passed -march etc, its built-in default needs to be safe. 19 EXTRA_OECONF:append:armv6:class-target = " --with-arch=armv6${ARMFPARCHEXT}" 20 EXTRA_OECONF:append:armv7a:class-target = " --with-arch=armv7-a${ARMFPARCHEXT}" [all …]
|
/openbmc/linux/kernel/gcov/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "GCOV-based kernel profiling" 5 bool "Enable gcov-based kernel profiling" 11 This option enables gcov-based code profiling (e.g. for code coverage 17 for the entire kernel. To enable profiling for specific files or
|
H A D | base.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Uses gcc-internal data definitions. 9 * Based on the gcov-kernel patch by: 17 #define pr_fmt(fmt) "gcov: " fmt 23 #include "gcov.h" 29 * gcov_enable_events - enable event reporting through gcov_event() 31 * Turn on reporting of profiling data load/unload-events through the 53 * store_gcov_u32 - store 32 bit number in gcov format to buffer 76 * store_gcov_u64 - store 64 bit number in gcov format to buffer
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | running_tips.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------------- 15 .. code-block:: bash 18 ( cd "$(git rev-parse --show-toplevel)" && ./tools/testing/kunit/kunit.py run "$@" ) 26 ------------------------- 33 .. code-block:: bash 35 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig 40 .. code-block:: bash 42 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig 53 ----------------------- [all …]
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 2 - local: '/.gitlab-ci.d/buildtest-template.yml' 4 build-system-alpine: 6 - .native_build_job_template 7 - .native_build_artifact_template 9 - job: amd64-alpine-container 12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu 13 MAKE_CHECK_ARGS: check-build 14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog 16 check-system-alpine: 19 - job: build-system-alpine [all …]
|
/openbmc/qemu/scripts/coverage/ |
H A D | compare_gcov_json.py | 5 # - create two build dirs with --enable-gcov 6 # - run set of tests in each 7 # - run make coverage-html in each 8 # - run gcovr --json --exclude-unreachable-branches \ 9 # --print-summary -o coverage.json --root ../../ . *.p 13 # SPDX-License-Identifier: GPL-2.0-or-later 26 parser.add_argument('-a', type=Path, default=None, 29 parser.add_argument('-b', type=Path, default=None, 32 parser.add_argument('--verbose', action='store_true', default=False, 38 # See https://gcovr.com/en/stable/output/json.html#json-format-reference [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.rst | 3 The kernel's command-line parameters 12 The kernel parses parameters from the kernel command line up to "``--``"; 16 Everything after "``--``" is passed as an argument to init. 32 log_buf_len=1M print-fatal-signals=1 36 log-buf-len=1M print_fatal_signals=1 38 Double-quotes can be used to protect spaces in values, e.g.:: 43 ---------- 52 <cpu number>-<cpu number> 57 <cpu number>,...,<cpu number>-<cpu number> 63 <cpu number>-<cpu number>:<used size>/<group size> [all …]
|
H A D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 61 Enable processor driver info messages: [all …]
|
/openbmc/qemu/tests/functional/qemu_test/ |
H A D | tuxruntest.py | 10 # SPDX-License-Identifier: GPL-2.0-or-later 24 # Tests are ~10-40s, allow for --debug/--enable-gcov overhead 32 print(f"{tagname}/{default} -> {utag}") 47 # Pre-init TuxRun specific settings: Most machines work with 70 failure_message='Kernel panic - not syncing', 82 run_cmd([self.zstd, "-f", "-d", disk_image_zst, 83 "-o", disk_image]) 100 + f"file.filename={disk},node-name=hd0" 106 self.vm.add_args('-kernel', kernel, 107 '-append', kcmd_line, [all …]
|
/openbmc/qemu/docs/devel/testing/ |
H A D | main.rst | 7 everything from unit testing and exercising specific sub-systems all 9 tests you can run ``make check-help`` from either the source or build 17 [./pyvenv/bin/]meson test --suite qemu:softfloat 25 ------------------------- 36 Different sub-types of "make check" tests will be explained below. 45 Unit tests, which can be invoked with ``make check-unit``, are simple C tests 53 1. Create a new source file. For example, ``tests/unit/foo-test.c``. 63 is in ``tests/unit/foo-test.c``, it is enough to add an entry like:: 67 'foo-test': [], 80 make check-unit V=1 [all …]
|
/openbmc/qemu/scripts/ |
H A D | meson-buildoptions.py | 28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent 38 "b_coverage": "gcov", 40 "coroutine_backend": "with-coroutine", 41 "debug": "debug-info", 42 "malloc": "enable-malloc", 43 "pkgversion": "with-pkgversion", 45 "qemu_suffix": "with-suffix", 46 "trace_backends": "enable-trace-backends", 47 "trace_file": "with-trace-file", 58 # via -D, because it's a mix of CFLAGS and --extra-cflags); for specific [all …]
|
H A D | meson-buildoptions.sh | 1 # This file is generated by meson-buildoptions.py, do not edit! 3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co' 6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]' 7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE' 8 printf "%s\n" ' set block driver read-only whitelist (by default' 9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE' 11 printf "%s\n" ' set block driver read-write whitelist (by default' 12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 13 printf "%s\n" ' --datadir=VALUE Data file directory [share]' [all …]
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight.rst | 2 Coresight - HW Assisted Tracing on ARM 9 ------------ 38 0 CPU 0<-->: C : 0 CPU 0<-->: C : : C : @ STM @ || System || 39 |->0000000 : T : |->0000000 : T : : T :<--->@@@@@ || Memory || 40 | #######<-->: I : | #######<-->: I : : I : @@@<-| |||||||||||| 43 | |->### | ! | |->### | ! | ! . | || DAP || 49 *****************************************************************<-| 63 | * ===== F =====<---------| 65 |-->:: CTI ::<!! === N === 69 |------>&& ETB &&<......II I ======= [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 Enable generic return hooking feature. This is an internal 21 API, which will be used by other function-entry hooking 27 See Documentation/trace/ftrace-design.rst 32 See Documentation/trace/ftrace-design.rst 40 See Documentation/trace/ftrace-design.rst 69 See Documentation/trace/ftrace-design.rst 74 See Documentation/trace/ftrace-design.rst 79 Arch supports the gcc options -pg with -mfentry 84 Arch supports the gcc options -pg with -mrecord-mcount and -nop-mcount [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-intel-pt.txt | 1 perf-intel-pt(1) 5 ---- 6 perf-intel-pt - Support for Intel Processor Trace within perf tools 9 -------- 11 'perf record' -e intel_pt// 14 ----------- 19 Technical details are documented in the Intel 64 and IA-32 Architectures 23 processors that are based on the Intel micro-architecture code name Broadwell. 33 Decoding is done on-the-fly. The decoder outputs samples in the same format as 43 builds, however the executed images are needed - which makes use in JIT-compiled [all …]
|
/openbmc/linux/arch/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 20 menu "General architecture-dependent options" 25 Select if the architecture can check permissions at sub-page 71 for kernel debugging, non-intrusive instrumentation and testing. 80 makes certain almost-always-true or almost-always-false branch 83 Certain performance-sensitive kernel code, such as trace points, 97 ( On 32-bit x86, the necessary options added to the compiler 104 Boot time self-test of the branch patching code. 110 Boot time self-test of the call patching code. 130 Uprobes is the user-space counterpart to kprobes: they [all …]
|
/openbmc/linux/scripts/ |
H A D | Makefile.lib | 1 # SPDX-License-Identifier: GPL-2.0 3 asflags-y += $(EXTRA_AFLAGS) 4 ccflags-y += $(EXTRA_CFLAGS) 5 cppflags-y += $(EXTRA_CPPFLAGS) 6 ldflags-y += $(EXTRA_LDFLAGS) 9 KBUILD_AFLAGS += $(subdir-asflags-y) 10 KBUILD_CFLAGS += $(subdir-ccflags-y) 11 KBUILD_RUSTFLAGS += $(subdir-rustflags-y) 16 # When an object is listed to be built compiled-in and modular, 17 # only build the compiled-in version [all …]
|
/openbmc/u-boot/scripts/ |
H A D | Makefile.lib | 1 # SPDX-License-Identifier: GPL-2.0 3 asflags-y += $(EXTRA_AFLAGS) 4 ccflags-y += $(EXTRA_CFLAGS) 5 cppflags-y += $(EXTRA_CPPFLAGS) 6 ldflags-y += $(EXTRA_LDFLAGS) 10 export KBUILD_SUBDIR_ASFLAGS := $(KBUILD_SUBDIR_ASFLAGS) $(subdir-asflags-y) 11 export KBUILD_SUBDIR_CCFLAGS := $(KBUILD_SUBDIR_CCFLAGS) $(subdir-ccflags-y) 16 # When an object is listed to be built compiled-in and modular, 17 # only build the compiled-in version 19 obj-m := $(filter-out $(obj-y),$(obj-m)) [all …]
|
/openbmc/qemu/ |
H A D | meson.build | 10 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) 23 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 30 tmpdir = meson.current_build_dir() / 'meson-private/temp' 61 have_linux_user = have_linux_user or target.endswith('linux-user') 62 have_bsd_user = have_bsd_user or target.endswith('bsd-user') 63 have_system = have_system or target.endswith('-softmmu') 107 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"') 114 message('To use Rust you can install a new version with "cargo install bindgen-cli"') 132 # instead. QEMU --enable-modules depends on this because the SystemTap 135 add_global_arguments('-DSTAP_SDT_V2', [all …]
|
/openbmc/ |
D | opengrok1.0.log | 1 2025-03-22 03:00:49.337-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-03-22 03:00:49.465-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
D | opengrok2.0.log | 1 2025-03-21 03:00:54.402-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-03-21 03:00:54.529-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
/openbmc/linux/ |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |