Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: Fix an issue not finding tracefs on some kernels
When parsing /proc/self/mountinfo on some kernels, the number of fields is different and tracefs cannot be obtained. changed methmod to check if paths of "/sys/kernel/tracing (tracefs)" and "/sys/kernel/debug (debugfs)" exist Fixed: #1753 Signed-off-by: gichoelchoi <gichoel0295@gmail.com>
- Loading branch information
Showing
1 changed file
with
40 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters