Bug 219302
Summary: | Question about trace-cmd reset | ||
---|---|---|---|
Product: | Tracing/Profiling | Reporter: | Metin Kaya (metin.kaya) |
Component: | Ftrace | Assignee: | Steven Rostedt (rostedt) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | metin.kaya |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Metin Kaya
2024-09-23 12:06:24 UTC
Yes it does make sense. I'm open to taking patches that add options to trace-cmd reset that limit what it does. We should update libtracecmd's reset option too. Gotcha. Will send patch(es). Thank you! > We should update libtracecmd's reset option too.
Hi Steven,
Could you please share a pointer about reset option in libtracecmd?
I implemented necessary changes, but only needed to modify clear_all_dynamic_events() and trace_reset() functions in trace-record.c.
Thanks,
Just for the records: posted these patches on the mailing list [1]. [1] https://lore.kernel.org/linux-trace-devel/20241010085350.3479149-1-metin.kaya@arm.com/T/#t v2 [1] of the patch set is merged. Resolving the ticket. [1] https://lore.kernel.org/linux-trace-devel/20241014123136.3890807-1-metin.kaya@arm.com/#t |