-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
Moderate
-
rhel-kernel-tracing
-
ssg_core_kernel
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
All
-
None
-
57,005
Description of problem:
#include <tracefs/tracefs.h> errors out on sub #include <event-parse.h> .
Version-Release number of selected component (if applicable):
RHEL 9.2
libtracefs-devel-1.3.1-1.el9
libtraceevent-devel-1.5.3-3.el9 (dependency)
How reproducible:
always
Steps to Reproduce:
Prepare tracefs.c:
==========
#include <tracefs/tracefs.h>
==========
(yes, only 1 line)
$ cc -c tracefs.c
Actual results:
In file included from tracefs.c:2:
/usr/include/tracefs/tracefs.h:11:10: fatal error: event-parse.h: No such file or directory
11 | #include <event-parse.h>
| ^~~~~~~~~~~~~~~ compilation terminated. |
Expected results:
No error
Additional info:
This came evident when compiling custom kernel and compiling tools/tracing/rtls/ tree failed.
In /usr/include/tracefs/tracefs.c,
#include <event-parse.h> seems to be should be #include <traceevent/event-parse.h> .
Please disregard if I was wrong.
- external trackers