[Bug 1004] Compilation error with Vtune profile option enabled
    bugzilla at dpdk.org 
    bugzilla at dpdk.org
       
    Thu May  5 13:39:17 CEST 2022
    
    
  
https://bugs.dpdk.org/show_bug.cgi?id=1004
            Bug ID: 1004
           Summary: Compilation error with Vtune profile option enabled
           Product: DPDK
           Version: 22.03
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: ethdev
          Assignee: dev at dpdk.org
          Reporter: aman.deep.singh at intel.com
  Target Milestone: ---
Compilation steps-
   meson build
   meson configure build -Dc_args=-DRTE_ETHDEV_PROFILE_WITH_VTUNE
   ninja -C build
Build error seen-
../lib/ethdev/ethdev_profile.c: In function ‘__rte_eth_dev_profile_init’:
../lib/ethdev/ethdev_profile.c:58:43: error: dereferencing pointer to
incomplete type ‘struct rte_eth_dev’
   58 |  return vtune_profile_rx_init(port_id, dev->data->nb_rx_queues);
Optional- fix for issue
Need to include "ethdev_driver.h" for ‘struct rte_eth_dev’ definition to be
available.
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the dev
mailing list