2,824 questions
0
votes
0
answers
17
views
Do perf filters work inside containers (when tracing with Intel PT)?
(This post is based on a mailing list post I submitted yesterday)
I'm writing a userspace application that interacts directly with
perf_event_open() in order to trace control flow with Intel PT.
...
0
votes
0
answers
21
views
The sched_blocked_reason tracepoint in Linux does not emit events
I am attempting to capture events from sched/sched_block_reason on a Linux system, with the eventual goal of getting sched/sched_block_reason working with a visualization tool called Perfetto.
This ...
0
votes
0
answers
53
views
Is it possible to trace a line after it's executed in Python?
sys.settrace and Bdb.trace_dispatch can trace events. But the "line" event is triggered before the execution of the line.
I'm trying to get information exactly after the line being executed, ...
0
votes
1
answer
42
views
Stop Otel from tracing its own internal metric exporting activity
I've implemented Otel for my python app sending telemetry to GCP backend. I'm seeing these trace spans for https://otel-collector-xxx.asia-southeast1.run.app/opentelemetry.proto.collector.metrics.v1....
16
votes
1
answer
616
views
Why does R behave differently for auto-printed objects?
I have encountered two instances where it seems that R treats obj and print(obj) differently. I would like to know more about the nature of this difference.
First instance
I can run
trace("print....
2
votes
0
answers
38
views
Trouble Capturing Process Start Events with ETW in User-Mode Application
I have a question regarding ETW (Event Tracing for Windows) programming.
My goal is simple: I want to use ETW base program to record every user-launched program on Windows.
I have already implemented ...
0
votes
0
answers
30
views
Attaching to and receiving a process's own utrace events (dtrace USDT probe points)
Is it possible for a process to probe dtrace/perf/etc USDTs for its own process (or even better, process group or uid) without needing elevated privileges or being able to trace processes with other ...
0
votes
0
answers
22
views
Use trace module from Spyder console
I was looking for how to echo commands to the console as a Python script is executing. Google pointed me to the trace module, but what I found online shows that it must be specified when invoking ...
0
votes
0
answers
32
views
TRACE_DRIVER Undeclared Identifier in KMDF Project After Rename to C++
Environment and Project
Visual Studio 2022
Kernel Mode Driver (KMDF)
Trace Lines
TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_DRIVER, "%!FUNC! Entry");
TraceEvents(TRACE_LEVEL_ERROR, ...
0
votes
1
answer
47
views
Is there a way to instrument python code like this to run my tracing function on it? [duplicate]
So for example if I have this python code
def adder(x,y):
return x + y
So I am tracing the values of variables for python source code and I want to run the sys.settrace using my trace function on ...
0
votes
0
answers
13
views
How to collect instruction traces that can be used by the gem5 simulator?
I want to analyze the impact of different microarchitecture designs on a certain workload, so I would like to collect traces on a machine running that workload and use those traces in the gem5 ...
0
votes
0
answers
14
views
How to calculate size of traces logged per minute configured with rsyslog log rotation
I'm working on a script that logs messages using rsyslog, and I want to calculate the total size of log entries (traces) generated per minute. My rsyslog configuration is set up to rotate logs based ...
-1
votes
1
answer
48
views
What is the simplest way to add corellationId to logging.pattern.console?
Initially I had such logging configuration in my spring boot 3.4 app:
logging:
...
pattern:
file: "%d [%thread] %-5level %-50logger{40}- %n"
console: "%d [%thread]%-...
0
votes
1
answer
28
views
How to replace ZipkinSpanExporter to my Own in spring boot application?
I have an application based on spring boot 3.4
I have application.properties with lines:
management.tracing.sampling.probability=1
management.zipkin.tracing.export.enabled=false
and dependencies:
// ...
2
votes
0
answers
46
views
Failed to attach eBPF codes to kprobe?
My Linux system is WSL2 with kernel-5.15.133, and I wrote a eBPF codes to count calling of kmalloc in kernel with kprobe.
The code failed with kprobe attach failed: Invalid argument.
// ...