Bug 205241
Summary: | trace-cmd reset die()'s on missing tracing_max_latency file | ||
---|---|---|---|
Product: | Tools | Reporter: | Valentin Schneider (valentin.schneider) |
Component: | Trace-cmd/Kernelshark | Assignee: | Default virtual assignee for Trace-cmd and kernelshark (tools_tracecmd_kernelshark) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | rostedt, tstoyanov |
Priority: | P1 | ||
Hardware: | ARM | ||
OS: | Linux | ||
Kernel Version: | 5.4.0-rc3-00099-g0e2adab6cf28 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Valentin Schneider
2019-10-18 12:52:36 UTC
Hi Valentin, Thank you for the testing and posting this bug. You are right, depending on the kernel config, some ftrace files are optional and this should not confuse trace-cmd. -- Tzvetomir (Ceco) Stoyanov VMware Open Source Technology Center Proposed a fix: https://patchwork.kernel.org/patch/11198623/ Fixed by commit 113b0664003c ("trace-cmd: Check if ftrace file exists, before writing in it.") |