Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 187) sorted by relevance

12345678

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0002-Drop-using-_LARGEFILE64_SOURCE.patch8 Upstream-Status: Submitted [https://lore.kernel.org/linux-trace-devel/20230109225315.1284538-2-raj.…
11 lib/trace-cmd/trace-input.c | 1 -
12 lib/trace-cmd/trace-output.c | 1 -
13 lib/trace-cmd/trace-recorder.c | 1 -
14 tracecmd/trace-hist.c | 1 -
15 tracecmd/trace-listen.c | 1 -
16 tracecmd/trace-mem.c | 1 -
17 tracecmd/trace-profile.c | 1 -
18 tracecmd/trace-read.c | 1 -
19 tracecmd/trace-restore.c | 1 -
[all …]
/openbmc/qemu/scripts/oss-fuzz/
H A Dreorder_fuzzer_qtest_trace.py81 trace = f.readlines()
84 trace[:] = [x.strip() for x in trace if "[R +" in x
87 for i in range(len(trace)):
88 if i+1 < len(trace):
89 if "[DMA]" in trace[i+1]:
90 if "[DOUBLE-FETCH]" in trace[i+1]:
95 trace[i], trace[i+1] = trace[i+1], trace[i]
96 for line in trace:
H A Doutput_reproducer.py52 def bash_reproducer(path, args, trace): argument
56 for l in trace.splitlines():
61 def c_reproducer(name, args, trace): argument
71 for l in trace.splitlines():
143 trace = args.input_trace.read().strip()
146 print(bash_reproducer(qemu_path, bash_args, trace))
152 output += c_comment(bash_reproducer(qemu_path, bash_args, trace))
153 output += c_reproducer(args.name, qemu_args, trace)
/openbmc/qemu/docs/devel/
H A Dtracing.rst19 $ 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_*" ...
36 $ qemu --trace events=/tmp/events ...
44 Each directory in the source tree can declare a set of trace events in a local
45 "trace-events" file. All directories which contain "trace-events" files must be
47 file. During build, the "trace-events" file in each listed subdirectory will be
48 processed by the "tracetool" script to generate code for the trace events.
[all …]
/openbmc/hiomapd/
H A Dprotocol.c176 struct blk_io_trace *trace = &context->trace; in blktrace_flush_start() local
187 trace->magic = BLK_IO_TRACE_MAGIC | BLK_IO_TRACE_VERSION; in blktrace_flush_start()
188 trace->sequence++; in blktrace_flush_start()
189 trace->time = blktrace_gettime() - context->blktrace_start; in blktrace_flush_start()
190 trace->sector = context->current->flash_offset / 512; in blktrace_flush_start()
191 trace->bytes = context->current->size; in blktrace_flush_start()
193 trace->action = BLK_TA_QUEUE | BLK_TC_ACT(BLK_TC_WRITE); in blktrace_flush_start()
195 trace->action = BLK_TA_QUEUE | BLK_TC_ACT(BLK_TC_READ); in blktrace_flush_start()
196 trace->pid = 0; in blktrace_flush_start()
197 trace->device = 0; in blktrace_flush_start()
[all …]
/openbmc/openpower-hw-diags/analyzer/
H A Danalyzer_main.cpp67 trace::err("Unsupported attention type: %u", i_type); in __attn()
90 trace::err("Unsupported analysis type: %u", i_type); in __analysisType()
104 trace::err("Hardware error analysis is not supported on this system"); in analyzeHardware()
108 trace::inf(">>> enter analyzeHardware(%s)", __analysisType(i_type)); in analyzeHardware()
111 trace::inf("Initializing the isolator..."); in analyzeHardware()
116 trace::inf("Isolating errors: # of chips=%u", chips.size()); in analyzeHardware()
123 trace::inf("Signature: %s 0x%0" PRIx32 " %s", in analyzeHardware()
138 trace::err("Exception caught during root cause filtering"); in analyzeHardware()
139 trace::err(e.what()); in analyzeHardware()
149 trace::inf("Root cause attention: %s 0x%0" PRIx32 " %s", in analyzeHardware()
[all …]
H A Dhei_user_interface.cpp31 trace::err("Unsupported register type: i_regType=0x%02x", in __regType()
57 trace::err("Unsupported register type: trgt=%s regType=0x%02x " in __readProc()
85 trace::err("Unsupported register type: trgt=%s regType=0x%02x " in __readOcmb()
116 trace::err("Unsupported target type: trgt=%s trgtType=0x%02x", in registerRead()
123 trace::err("%s failure: trgt=%s addr=0x%0" PRIx64, __regType(i_regType), in registerRead()
138 trace::inf(format, args); in hei_inf()
149 trace::err(format, args); in hei_err()
/openbmc/openpower-hw-diags/attn/
H A Dattn_handler.cpp87 trace::inf("Attention handler started"); in attnHandler()
104 trace::inf("pib path or target not found"); in attnHandler()
118 trace::inf("fsi path or target not found"); in attnHandler()
123 trace::inf("proc: %u", proc); in attnHandler()
131 trace::err("cfam read 0x1007 FAILED"); in attnHandler()
137 trace::err("cfam read 0x1007 INVALID"); in attnHandler()
143 trace::inf("cfam 0x1007 = 0x%08x", isr_val); in attnHandler()
151 trace::err("cfam read 0x100d FAILED"); in attnHandler()
157 trace::err("cfam read 0x100d INVALID"); in attnHandler()
163 trace::inf("cfam 0x100d = 0x%08x", isr_mask); in attnHandler()
[all …]
H A Dattn_common.cpp39 trace::err("cfam read error: 0x%08x", l_cfamAddr); in addHbStatusRegs()
46 trace::err("scom read error: 0x%016" PRIx64 "", l_scomAddr1); in addHbStatusRegs()
52 trace::err("scom read error: 0x%016" PRIx64 "", l_scomAddr2); in addHbStatusRegs()
60 trace::inf("HostBoot Reg:%08x Data:%08x Proc:00000000", l_cfamAddr, in addHbStatusRegs()
62 trace::inf("HostBoot Reg:%08" PRIx64 " Data:%016" PRIx64 in addHbStatusRegs()
65 trace::inf("HostBoot Reg:%08" PRIx64 " Data:%016" PRIx64 in addHbStatusRegs()
82 trace::err("error getting scratch register target"); in addPrdScratchRegs()
92 trace::err("error reading scratch register 9"); in addPrdScratchRegs()
99 trace::err("error reading scratch register 10"); in addPrdScratchRegs()
107 trace::inf("PRD scratch Proc0, Chip ID: %08x, Signature ID: %08x", in addPrdScratchRegs()
[all …]
H A Dvital_handler.cpp29 trace::inf("hreset completed"); in attemptSbeRecovery()
55 trace::err("sbe attention did not clear"); in attemptSbeRecovery()
63 trace::err("cfam read error"); in attemptSbeRecovery()
71 trace::inf("sbe attention cleared"); in attemptSbeRecovery()
94 trace::inf("fsi path or target not found"); in checkstopActive()
106 trace::err("cfam 1007 read error"); in checkstopActive()
114 trace::err("cfam 100d read error"); in checkstopActive()
130 trace::inf("vital handler started"); in handleVital()
135 trace::inf("vital handling disabled"); in handleVital()
143 trace::inf("power fault was reported"); in handleVital()
H A Dattn_monitor.cpp18 trace::err("GPIO Async wait error: %s", ec.message().c_str()); in scheduleGPIOEvent()
22 trace::inf("Attention GPIO active"); in scheduleGPIOEvent()
37 trace::err("GPIO line read failed"); in handleGPIOEvent()
50 trace::inf("GPIO handler out of sync"); in handleGPIOEvent()
55 trace::inf("GPIO line unexpected value"); in handleGPIOEvent()
66 trace::err("failed request for GPIO"); in requestGPIOEvent()
75 trace::err("failed to get file descriptor"); in requestGPIOEvent()
H A Dattn_dbus.cpp38 trace::inf("dbusMethod service not found"); in dbusMethod()
39 trace::inf(i_path.c_str()); in dbusMethod()
40 trace::inf(i_interface.c_str()); in dbusMethod()
45 trace::err("dbusMethod exception"); in dbusMethod()
46 trace::err(e.what()); in dbusMethod()
64 trace::err("%s only %u of %u bytes written", filePath.c_str(), numBytes, in createPelRaw()
94 trace::err("createPelRaw exception"); in createPelRaw()
95 trace::err(e.what()); in createPelRaw()
133 trace::err("getPel exception"); in getPel()
134 trace::err(e.what()); in getPel()
H A Dti_handler.cpp74 trace::inf("PHYP TI"); in handlePhypTi()
133 trace::inf("HB TI with PLID/EID"); in handleHbTiWithEid()
138 trace::inf("TI data HB Flags = 0x%02x", i_tiDataArea->hbFlags); in handleHbTiWithEid()
139 trace::inf("TI data HB Word 0 = 0x%08x", in handleHbTiWithEid()
141 trace::inf("TI data HB Word 2 = 0x%08x", in handleHbTiWithEid()
143 trace::inf("TI data HB Word 3 = 0x%08x", in handleHbTiWithEid()
145 trace::inf("TI data HB Word 4 = 0x%08x", in handleHbTiWithEid()
147 trace::inf("TI data HB Word 5 = 0x%08x", in handleHbTiWithEid()
149 trace::inf("TI data HB Word 6 = 0x%08x", in handleHbTiWithEid()
151 trace::inf("TI data HB Word 7 = 0x%08x", in handleHbTiWithEid()
[all …]
/openbmc/phosphor-misc/http-redirect/
H A Dhttp-redirect.awk46 trace("extend header >"header"< with content >"$0"<")
74 trace("found header >"header"< with content >"headers[header]"<")
82 trace("end of request headers")
95 trace("Unparsed header line : >" $0 "<")
110 trace("version >"version"<")
111 trace("uri >"request_uri"<")
112 trace("method >"method"<")
124 trace(dump_split_url(split_uri))
137 trace("initial host is >" host "<")
144 trace("prioritized host is >" host "<")
[all …]
/openbmc/qemu/trace/
H A Dmeson.build1 system_ss.add(files('control-target.c', 'trace-hmp-cmds.c'))
9 trace_events_file = meson.project_source_root() / item / 'trace-events'
16 trace_h = custom_target(fmt.format('trace', 'h'),
17 output: fmt.format('trace', 'h'),
22 trace_c = custom_target(fmt.format('trace', 'c'),
23 output: fmt.format('trace', 'c'),
28 trace_ust_h = custom_target(fmt.format('trace-ust', 'h'),
29 output: fmt.format('trace-ust', 'h'),
38 trace_dtrace = custom_target(fmt.format('trace-dtrace', 'dtrace'),
39 output: fmt.format('trace-dtrace', 'dtrace'),
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/trace-enable/
H A Dtrace-enable.bb1 SUMMARY = "Enable Linux trace events"
2 DESCRIPTION = "Enable Linux trace events based on a configuration file"
6 SRC_URI += " file://trace-enable"
10 SYSTEMD_SERVICE:${PN} = "trace-enable.service"
18 echo ${event} >> ${D}${sysconfdir}/trace-events.conf
20 echo >> ${D}${sysconfdir}/trace-events.conf
21 chmod 0644 ${D}${sysconfdir}/trace-events.conf
23 install -m 0755 ${UNPACKDIR}/trace-enable ${D}${libexecdir}
31 FILES:${PN} += "${sysconfdir}/trace-events.conf"
32 FILES:${PN} += "${libexecdir}/trace-enable"
/openbmc/openbmc-tools/tracing/
H A DREADME.md1 # trace chapter
5 The trace script automates the process of enabling named sets of tracepoints and
6 dumping the trace file over the SSH connection, then cleaning up after itself.
13 Usage: ./trace [USER@]HOST EVENTSET [EVENTSET...]
18 To stop the trace output and disable the tracepoints, hit `Return`.
23 $ ./trace root@my-bmc sched
34 + eval 'trace=\${EVENT_${elem}}'
35 ++ trace='${EVENT_sched}'
38 + for event in '$(eval echo ${trace})'
40 + for event in '$(eval echo ${trace})'
[all …]
/openbmc/u-boot/test/trace/
H A Dtest-trace.sh16 trace stats
18 trace pause
19 trace stats
21 trace stats
22 trace resume
24 trace pause
25 trace stats
/openbmc/u-boot/doc/
H A DREADME.trace16 The trace feature uses GCC's instrument-functions feature to trace all
22 which extracts useful information from it. The resulting trace output
48 Run sandbox, wait for a bit of trace information to appear, and then capture
49 a trace:
57 trace: enabled
63 =>trace stats
71 =>trace stats
79 =>trace calls 0 e00000
91 =>host save host 0 trace 0 ${profoffset}
96 Then run proftool to convert the trace information to ftrace format.
[all …]
/openbmc/openpower-hw-diags/util/
H A Dpldm.cpp91 trace::err("Error calling pldm_instance_db_init_default, rc = %d", in PLDMInstanceManager()
104 trace::err("pldm_instance_db_destroy failed rc = %d", (unsigned)rc); in ~PLDMInstanceManager()
124 trace::err("getPldmInstanceId: Failed to alloc ID for TID = %d, RC= %d", in getPldmInstanceID()
130 trace::inf("Got instanceId: %d, for PLDM TID: %d", (unsigned)pldmInstance, in getPldmInstanceID()
142 trace::err( in freePLDMInstanceID()
153 trace::inf("open: pldmTransport already setup!"); in openPLDM()
161 trace::err("open: No valid transport defined!"); in openPLDM()
166 trace::err("openPLDM failed, fd = %d and error= %d", (unsigned)fd, e); in openPLDM()
177 trace::err( in openMctpDemuxTransport()
187 trace::err( in openMctpDemuxTransport()
[all …]
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Ddraw.py34 def proc_tree (self, trace): argument
36 return trace.kernel_tree
38 return trace.proc_tree
338 def extents(options, xscale, trace): argument
339 start = min(trace.start.keys())
343 for proc in trace.processes:
345 trace.processes[proc][1] - trace.processes[proc][0] < options.app_options.mintime:
348 if trace.processes[proc][1] > end:
349 end = trace.processes[proc][1]
352 if trace.min is not None and trace.max is not None:
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/
H A D0001-Avoid-variable-definition-in-header-files.patch18 trace.c | 1 +
19 trace.h | 2 +-
73 diff --git a/trace.c b/trace.c
75 --- a/trace.c
76 +++ b/trace.c
85 diff --git a/trace.h b/trace.h
87 --- a/trace.h
88 +++ b/trace.h
96 #define MAX_MSG_SIZE 1024 /* max length of trace message */
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dparser_test.py30 trace = parsing.Trace(writer, args, options)
31 state = parsing.parse_file(writer, trace, self.mk_fname('header'))
36 trace = parsing.Trace(writer, args, options)
37 state = parsing.parse_file(writer, trace, self.mk_fname('proc_diskstats.log'))
41 trace = parsing.Trace(writer, args, options)
42 state = parsing.parse_file(writer, trace, self.mk_fname('proc_ps.log'))
63 trace = parsing.Trace(writer, args, options)
64 state_with_headers = parsing.parse_file(writer, trace, self.mk_fname('header'))
85 trace = parsing.Trace(writer, args, options)
86 samples = parsing.parse_file(writer, trace, self.mk_fname('proc_stat.log')).cpu_stats
/openbmc/openbmc/poky/meta/recipes-graphics/cairo/
H A Dcairo_1.18.4.bb21 # cairo-trace is being built.
22 LICENSE:${PN}-dbg = "(MPL-1.1 | LGPL-2.1-only)${@bb.utils.contains('PACKAGECONFIG', 'trace', ' & GP…
23 LICENSE:${PN}-src = "(MPL-1.1 | LGPL-2.1-only)${@bb.utils.contains('PACKAGECONFIG', 'trace', ' & GP…
26 …${@bb.utils.contains('PACKAGECONFIG', 'trace', 'file://util/cairo-trace/COPYING-GPL-3;md5=d32239bc…
52 MULTILIB_SCRIPTS = "${PN}-perf-utils:${bindir}/cairo-trace"
54 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xlib xcb', '', d)} trace"
57 # cairo-trace is GPLv3 so add an option to remove it
58 PACKAGECONFIG[trace] = ""
63 if ! ${@bb.utils.contains('PACKAGECONFIG', 'trace', 'true', 'false', d)}; then
64 rm ${D}${bindir}/cairo-trace ${D}${libdir}/cairo/libcairo-trace.so
[all …]
/openbmc/openpower-hw-diags/test/
H A Dtest-pdbg-dts.cpp23 trace::inf("retrieving fapi pos."); in TEST()
27 trace::inf("perv1 fapi pos in DTS: %u", attr); in TEST()
33 trace::inf("perv12 fapi pos in DTS: %u", attr); in TEST()
46 trace::inf("retrieving fapi pos."); in TEST()
50 trace::inf("index in DTS: %u", attr); in TEST()
55 trace::inf("fapi pos in DTS: %u", attr); in TEST()
78 trace::inf("Chip ID: %u", attr); in TEST()
83 trace::inf("ATTR_FAPI_POS: %u", attr); in TEST()
104 trace::inf("index in DTS: %u", attr); in TEST()
109 trace::inf("fapi pos in DTS: %u", attr); in TEST()
[all …]

12345678