• dpdk GDB Make breakpoint pending on future shared library load


    (gdb) b hinic_tx_offload_pkt_prepare
    Function "hinic_tx_offload_pkt_prepare" not defined.
    Make breakpoint pending on future shared library load? (y or [n]) y^H
    (gdb) b hinic_tx_offload_pkt_prepare
    Function "hinic_tx_offload_pkt_prepare" not defined.
    Make breakpoint pending on future shared library load? (y or [n]) y^H
    
    Breakpoint 3 (hinic_tx_offload_pkt_prepare) pending.
    (gdb) b /data1/dpdk-19.11/drivers/net/hinic/hinic_pmd_tx.c:785
    No source file named /data1/dpdk-19.11/drivers/net/hinic/hinic_pmd_tx.c.
    Make breakpoint pending on future shared library load? (y or [n]) n
    (gdb) quit
    [root@localhost dpdk-simple-web-v0]# nm  build/app/printreq | grep hinic_tx_offload_pkt_prepare
    [root@localhost dpdk-simple-web-v0]# nm  build/app/printreq | grep hinic_xmit_pkts
    00000000006c3d18 T hinic_xmit_pkts
    [root@localhost dpdk-simple-web-v0]# 
    Breakpoint 1, 0x00000000006c12c0 in hinic_xmit_pkts ()
    (gdb) s
    Single stepping until exit from function hinic_xmit_pkts,
    which has no line number information.
    [Switching to Thread 0xffffbd3ad910 (LWP 13093)]
    
    Breakpoint 1, 0x00000000006c12c0 in hinic_xmit_pkts ()
    Missing separate debuginfos, use: debuginfo-install libpcap-1.5.3-12.el7.aarch64
    (gdb) s
    Single stepping until exit from function hinic_xmit_pkts,
    which has no line number information.
    rte_eth_tx_burst (port_id=0, queue_id=0, tx_pkts=0xffffbd3acdf0, nb_pkts=1)
        at /data1/dpdk-19.11/arm64-armv8a-linuxapp-gcc/include/rte_ethdev.h:4667
    4667    }
    (gdb) 

     原来是dpdk 编译的时候 

    make    -j 128

    应该是

    make  install  T=$RTE_TARGET -j 128

     

  • 相关阅读:
    Merge Intervals
    Insert Interval
    Combination Sum
    Trapping Rain Water II
    Kth Largest in N Arrays
    Spiral Matrix
    Search a 2D Matrix
    Binary Postorder Traversal
    Search in Rotated Sorted Array II
    S3C2440移植uboot之启动过程概述
  • 原文地址:https://www.cnblogs.com/dream397/p/13690207.html
Copyright © 2020-2023  润新知