Skip to main content

Questions tagged [ftrace]

1 vote
0 answers
123 views

I'm working on an networking lab tool leveraging QEMU-based VM virtualization and docker technology to run VMs and containers respectively on a Linux host. The underlying lab connectivity is ...
CarloC's user avatar
  • 385
0 votes
1 answer
79 views

I am testing FTRACE in Linux VM (ubuntu 24.04) the kernel is Linux VirtualBox 6.11.0-26-generic. I wrote a kernel module to register a hook (probe) to kernel tracepoint of signal_generate, here is the ...
wangt13's user avatar
  • 651
0 votes
0 answers
25 views

I am analyzing some trace-cmd (event) output filtered for some specific PID. The workflow is as follows (parse.py is just a custom python to parse for specific PIDs, $EVENTS_ARGS is just a list of the ...
Panagiotis Stefanis's user avatar
2 votes
0 answers
36 views

I wrote a simple EBPF program which prints a message when the execve system call is invoked. I print the message using the bpf_trace_printk function. In the output, the task name for some processes is ...
russell.price's user avatar
1 vote
0 answers
87 views

I’m working with an STM32MP157D-DK1, trying to use the hwlat tracer for the board's arm Cortex-A7 CPU, to check for typical hardware latency. The following attempt was made to use the hwlat tracer on ...
user656857's user avatar
4 votes
1 answer
485 views

(I think) I have a relatively good understanding of how Linux permissions work - traditional Unix DAC permissions, and how they're represented, security context in relation to processes (i.e. cred ...
genericuser99's user avatar
2 votes
0 answers
209 views

For instance, we have /sys/kernel/debug/tracing/events/block/block_bio_complete and block_rq_complete which is basically IO completion trace points for ftrace, I believe. Using sudo blktrace -d /dev/...
Ken Y-N's user avatar
  • 263
1 vote
0 answers
57 views

I am registering a probe function for trace events using a Kernel module. For eg the probe function for the trace event sched_kthread_stop would be: void handle_kthread_stop(void *data, struct ...
Madhuparna Bhowmik's user avatar
2 votes
1 answer
215 views

Question Does the tracing pipes in Linux, for tracing events, accepts simultaneous readers? Context I am trying to get traces from the RAS subsystem while running some benchmarks. This subsystem ...
Alexandre Santana's user avatar
3 votes
0 answers
350 views

I'm trying to trace the flow of a piece of code just to understand the points where the tasks go into D/S/R states (uninterruptible/interruptible/running). I do understand the meaning of each state, ...
mdaniel's user avatar
  • 151
2 votes
1 answer
261 views

How can I send dmesg printout to ftrace subsystem? I like correlate the dmesg msg with the functions call graph in ftrace. Thanks
tony-p-lee 's user avatar
1 vote
1 answer
415 views

Ftrace is controlled by manipulating the debug fs files. But how is it possible ? How kernel be aware of writing in this files and start its required actions?for exmple if 1 is written to tracing_on , ...
fjahan's user avatar
  • 11
5 votes
2 answers
888 views

I enabled ftrace event tracing for sys_enter_openat syscall. The respective output format given at events/syscalls/sys_enter_openat/format is print fmt: "dfd: 0x%08lx, filename: 0x%08lx, flags: 0x%...
Madhur Rawat's user avatar
0 votes
1 answer
200 views

Is there any performance reduction to be expected from just activating trace (ftrace) functionality in the Linux kernel, but not using it at run time?
arash javan's user avatar
0 votes
1 answer
270 views

I am learning ftrace, I read from the following link that I can enable function profiling using the 'function_profile_enabled' file. mount -t tracefs nodev /sys/kernel/tracing cd /sys/kernel/tracing ...
md.jamal's user avatar
  • 311

15 30 50 per page