Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-8657

tracefs/tracefs.h: #include <event-parse.h> should be #include <traceevent/event-parse.h>

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • Moderate
    • rhel-kernel-tracing
    • ssg_core_kernel
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • 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.

              mpetlan@redhat.com Michael Petlan
              jira-bugzilla-migration RH Bugzilla Integration
              Michael Petlan Michael Petlan
              Qiao Zhao Qiao Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: