Home
last modified time | relevance | path

Searched +full:- +full:- +full:enable +full:- +full:trace +full:- +full:backend (Results 1 – 25 of 86) sorted by relevance

1234

/openbmc/qemu/docs/devel/
H A Dtracing.rst16 Enable tracing of ``memory_region_ops_read`` and ``memory_region_ops_write``
19 $ qemu --trace "memory_region_ops_*" ...
24 This output comes from the "log" trace backend that is enabled by default when
25 ``./configure --enable-trace-backends=BACKENDS`` was not explicitly specified.
27 Multiple patterns can be specified by repeating the ``--trace`` option::
29 $ qemu --trace "kvm_*" --trace "virtio_*" ...
32 file to avoid long command-line options::
36 $ qemu --trace events=/tmp/events ...
38 Trace events
41 Sub-directory setup
[all …]
/openbmc/qemu/docs/
H A Dqemu-option-trace.rst.inc4 ``[enable=]PATTERN``
6 Immediately enable events matching *PATTERN*
9 or ``ftrace`` tracing backend. To specify multiple events or patterns,
10 specify the :option:`-trace` option multiple times.
12 Use :option:`-trace help` to print a list of names of trace points.
16 Immediately enable events listed in *FILE*.
17 The file must contain one event name (as listed in the ``trace-events-all``
20 ``ftrace`` tracing backend.
26 the ``simple`` tracing backend.
/openbmc/qemu/trace/
H A Dcontrol.c4 * Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu>
7 * See the COPYING file in the top-level directory.
11 #include "trace/control.h"
15 #include "trace/simple.h"
18 #include "trace/ftrace.h"
27 #include "qemu/error-report.h"
28 #include "qemu/config-file.h"
45 .name = "trace",
46 .implied_opt_name = "enable",
50 .name = "enable",
[all …]
H A Dcontrol.h4 * Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu>
7 * See the COPYING file in the top-level directory.
13 #include "event-internal.h"
41 * with non-matching names.
116 * compiled-in backends.
121 * Returns: true if at least one backend has the event enabled and the event
133 * Use the define 'TRACE_${EVENT_NAME}_ENABLED' for compile-time checks (it will
154 * Pre-condition: trace_event_get_state_static(ev) == true
161 * Initialize the tracing backend.
170 * Record the name of the output file for the tracing backend.
[all …]
H A Dsimple.h2 * Simple trace backend
7 * the COPYING file in the top-level directory.
15 bool st_set_trace_file_enabled(bool enable);
29 * Initialize a trace record and claim space for it in the buffer
36 * Append a 64-bit argument to a trace record
41 * Append a string argument to a trace record
46 * Mark a trace record completed
48 * Don't append any more arguments to the trace record after calling this.
H A Dsimple.c2 * Simple trace backend
7 * the COPYING file in the top-level directory.
16 #include "trace/control.h"
17 #include "trace/simple.h"
18 #include "qemu/error-report.h"
19 #include "qemu/qemu-print.h"
21 /** Trace file header event ID, picked to avoid conflict with real event IDs */
24 /** Trace file magic number */
27 /** Trace file version number, bump if format changes */
31 #define DROPPED_EVENT_ID (~(uint64_t)0 - 1)
[all …]
/openbmc/qemu/scripts/
H A Dmeson-buildoptions.sh1 # 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/qemu/
H A Dmeson_options.txt1 # These options do not correspond to a --enable/--disable-* option
3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'],
12 description: 'use specified string as sub-version of the package')
25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like …
27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q…
28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M',
33 description: 'fuzzing engine library for OSS-Fuzz')
34 option('trace_file', type: 'string', value: 'trace',
35 description: 'Trace file prefix for simple backend')
[all …]
H A Dqemu-options.hx14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL)
16 ``-h``
21 "-version display version information and exit\n", QEMU_ARCH_ALL)
23 ``-version``
28 "-machine [type=]name[,prop[=value][,...]]\n"
29 " selects emulated machine ('-machine help' for list)\n"
33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n"
34 " mem-merge=on|off controls memory merge support (default: on)\n"
35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n"
36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n"
[all …]
H A Dqemu-io.c5 * Copyright (c) 2003-2005 Silicon Graphics, Inc.
8 * See the COPYING file in the top-level directory.
18 #include "qemu/help-texts.h"
21 #include "qemu-io.h"
22 #include "qemu/error-report.h"
23 #include "qemu/main-loop.h"
26 #include "qemu/config-file.h"
33 #include "sysemu/block-backend.h"
35 #include "trace/control.h"
37 #include "qemu-version.h"
[all …]
H A Dmeson.build10 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/qemu/hw/char/
H A Dvirtio-console.c10 * the COPYING file in the top-level directory.
14 #include "chardev/char-fe.h"
15 #include "qemu/error-report.h"
17 #include "trace.h"
18 #include "hw/qdev-properties.h"
19 #include "hw/qdev-properties-system.h"
20 #include "hw/virtio/virtio-serial.h"
22 #include "qapi/qapi-events-char.h"
38 * Callback function that's called from chardevs when backend becomes
46 vcon->watch = 0; in chr_write_unblocked()
[all …]
H A Dcmsdk-apb-uart.c12 /* This is a model of the "APB UART" which is part of the Cortex-M
13 * System Design Kit (CMSDK) and documented in the Cortex-M System
15 * https://developer.arm.com/products/system-design/system-design-kits/cortex-m-system-design-kit
22 #include "trace.h"
26 #include "chardev/char-fe.h"
27 #include "chardev/char-serial.h"
28 #include "hw/char/cmsdk-apb-uart.h"
30 #include "hw/qdev-properties-system.h"
78 return s->bauddiv >= 16 && s->bauddiv <= s->pclk_frq; in uart_baudrate_ok()
93 ssp.speed = s->pclk_frq / s->bauddiv; in uart_update_parameters()
[all …]
H A Dstm32l4x5_usart.c4 * Copyright (c) 2023 Arnaud Minier <arnaud.minier@telecom-paris.fr>
5 * Copyright (c) 2023 Inès Varhol <ines.varhol@telecom-paris.fr>
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 * See the COPYING file in the top-level directory.
15 * for STM32L4x5 and STM32L4x6 advanced Arm ® -based 32-bit MCUs.
22 #include "chardev/char-fe.h"
23 #include "chardev/char-serial.h"
28 #include "hw/qdev-clock.h"
29 #include "hw/qdev-properties.h"
30 #include "hw/qdev-properties-system.h"
[all …]
/openbmc/qemu/docs/about/
H A Dremoved-features.rst10 --------------------------------------
12 ``-hdachs`` (removed in 2.12)
15 The geometry defined by ``-hdachs c,h,s,t`` should now be specified via
16 ``-device ide-hd,drive=dr,cyls=c,heads=h,secs=s,bios-chs-trans=t``
17 (together with ``-drive if=none,id=dr,...``).
19 ``-net channel`` (removed in 2.12)
22 This option has been replaced by ``-net user,guestfwd=...``.
24 ``-net dump`` (removed in 2.12)
27 ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by
28 ``-object filter-dump,id=id,netdev=dev[,file=filename][,maxlen=maxlen]``.
[all …]
/openbmc/qemu/storage-daemon/
H A Dqemu-storage-daemon.c4 * Copyright (c) 2003-2008 Fabrice Bellard
35 #include "monitor/monitor-internal.h"
38 #include "qapi/qapi-visit-block-core.h"
39 #include "qapi/qapi-visit-block-export.h"
40 #include "qapi/qapi-visit-control.h"
43 #include "qapi/qobject-input-visitor.h"
45 #include "qemu/help-texts.h"
46 #include "qemu-version.h"
48 #include "qemu/config-file.h"
49 #include "qemu/error-report.h"
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dftrace.c1 // SPDX-License-Identifier: GPL-2.0
3 * Dynamic function tracer architecture backend.
17 #include <trace/syscall.h>
18 #include <asm/asm-offsets.h>
19 #include <asm/text-patching.h>
22 #include <asm/nospec-branch.h>
29 * or a combination of -pg -mrecord-mcount -mnop-mcount -mfentry flags
34 * To enable ftrace the code gets patched like above and afterwards looks
39 * The ftrace function gets called with a non-standard C function call ABI
41 * function only clobbers r0 and r1, but restores r2-r15.
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_irq.c7 * COPYING file in the top-level directory.
12 #include "qemu/error-report.h"
20 #include "hw/qdev-properties.h"
21 #include "cpu-models.h"
24 #include "trace.h"
36 if (SPAPR_MACHINE_GET_CLASS(spapr)->legacy_irq_allocation) { in spapr_irq_msi_init()
41 spapr->irq_map_nr = spapr_irq_nr_msis(spapr); in spapr_irq_msi_init()
42 spapr->irq_map = bitmap_new(spapr->irq_map_nr); in spapr_irq_msi_init()
56 align -= 1; in spapr_irq_msi_alloc()
58 irq = bitmap_find_next_zero_area(spapr->irq_map, spapr->irq_map_nr, 0, num, in spapr_irq_msi_alloc()
[all …]
/openbmc/openbmc/poky/documentation/profile-manual/
H A Dusage.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
20 that it's only for tracing and profiling the kernel --- you can indeed use
21 it to trace and profile just the kernel, but you can also use it to
23 context), and you can also use it to trace and profile the kernel and
24 all applications on the system simultaneously to gain a system-wide view
29 covered in this How-to. The past couple of years have seen perf subsume a
45 ----------
48 outlined in the ":ref:`profile-manual/intro:General Setup`" section.
61 ----------------
63 The perf tool is pretty much self-documenting. To remind yourself of the
[all …]
/openbmc/qemu/net/
H A Dvhost-user.c2 * vhost-user.c
7 * See the COPYING file in the top-level directory.
14 #include "net/vhost-user.h"
15 #include "hw/virtio/vhost-user.h"
16 #include "chardev/char-fe.h"
18 #include "qapi/qapi-commands-net.h"
19 #include "qemu/config-file.h"
20 #include "qemu/error-report.h"
22 #include "trace.h"
37 assert(nc->info->type == NET_CLIENT_DRIVER_VHOST_USER); in vhost_user_get_vhost_net()
[all …]
/openbmc/linux/Documentation/filesystems/caching/
H A Dfscache.rst1 .. SPDX-License-Identifier: GPL-2.0
13 FS-Cache mediates between cache backends (such as CacheFiles) and network
16 +---------+
17 | | +--------------+
18 | NFS |--+ | |
19 | | | +-->| CacheFS |
20 +---------+ | +----------+ | | /dev/hda5 |
21 | | | | +--------------+
22 +---------+ +-------------->| | |
23 | | +-------+ | |--+
[all …]
/openbmc/qemu/hw/block/
H A Dxen-block.c5 * See the COPYING file in the top-level directory.
10 #include "qemu/main-loop.h"
14 #include "qapi/qapi-commands-block-core.h"
15 #include "qapi/qapi-commands-qom.h"
16 #include "qapi/qapi-visit-block-core.h"
17 #include "qapi/qobject-input-visitor.h"
23 #include "hw/qdev-properties.h"
24 #include "hw/xen/xen-block.h"
25 #include "hw/xen/xen-backend.h"
27 #include "sysemu/block-backend.h"
[all …]
/openbmc/qemu/hw/virtio/
H A Dvhost.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
21 #include "qemu/error-report.h"
24 #include "standard-headers/linux/vhost_types.h"
25 #include "hw/virtio/virtio-bus.h"
26 #include "hw/mem/memory-device.h"
28 #include "migration/qemu-file-types.h"
30 #include "trace.h"
32 /* enabled until disconnected backend stabilizes */
39 strerror(-retval), -retval); \
[all …]
/openbmc/qemu/system/
H A Dvl.c4 * Copyright (c) 2003-2008 Fabrice Bellard
26 #include "qemu/help-texts.h"
29 #include "exec/cpu-common.h"
30 #include "exec/page-vary.h"
31 #include "hw/qdev-properties.h"
32 #include "qapi/compat-policy.h"
37 #include "qemu-version.h"
40 #include "qemu/hw-version.h"
44 #include "sysemu/runstate-action.h"
49 #include "qemu/error-report.h"
[all …]
/openbmc/qemu/hw/vfio/
H A Diommufd.c2 * iommufd container backend
10 * SPDX-License-Identifier: GPL-2.0-or-later
18 #include "hw/vfio/vfio-common.h"
19 #include "qemu/error-report.h"
20 #include "trace.h"
23 #include "hw/qdev-core.h"
36 return iommufd_backend_map_dma(container->be, in iommufd_cdev_map()
37 container->ioas_id, in iommufd_cdev_map()
49 return iommufd_backend_unmap_dma(container->be, in iommufd_cdev_unmap()
50 container->ioas_id, iova, size); in iommufd_cdev_unmap()
[all …]

1234