zoukankan      html  css  js  c++  java
  • 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

     

  • 相关阅读:
    Codeforces Round #276 (Div. 1) E. Sign on Fence 二分+主席树
    Codeforces Round #229 (Div. 2) C. Inna and Candy Boxes 树状数组s
    HDU 5918 Sequence I KMP
    HDU 5919 Sequence II 主席树
    hdu 5833 Zhu and 772002 高斯消元
    Codeforces Round #143 (Div. 2) E. Cactus 无向图缩环+LCA
    codeforces 45C C. Dancing Lessons STL
    deeplab hole algorithm
    有时候只是担心多余
    lstm
  • 原文地址:https://www.cnblogs.com/dream397/p/13690207.html
Copyright © 2011-2022 走看看