Bug 2214051
| Summary: | tracefs/tracefs.h: #include <event-parse.h> should be #include <traceevent/event-parse.h> | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Taketo Kabe <rkabe> |
| Component: | libtracefs | Assignee: | Michael Petlan <mpetlan> |
| Status: | CLOSED MIGRATED | QA Contact: | Qiao Zhao <qzhao> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.2 | CC: | acme, jkacur, zsun |
| Target Milestone: | rc | Keywords: | MigratedToJIRA, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-25 17:02:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Reproduced. Seems that you're right. However, upstream suffers from the same, so we'll discuss it upstream. Steven Rostedt does not consider this a bug: ============================================================================== The pkgconfig for libtraceevent has: $ pkgconf --cflags libtraceevent -I/usr/local/include/traceevent Where it should include the path that includes "traceevent", as you should not need to add it specifically. ============================================================================== Using pkgconfig, the compilation should pass. Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |
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.