• tracef 安装 跟踪 函数调用图


    http://www.prevanders.net/dwarf.html

    redhat 5.4

    tar -zxvf libdwarf-20140519.tar.gz

    [root@localhost dwarf-20140519]# pwd
    /root/dwarf-20140519

    cd libdwarf

    ./configure --enable-shared

    make

    cp  libdwarf.so /usr/local/lib/

    cp *.h /usr/include/libdwarf/

    yum install boost-devel

    然后再安装tracef-0.16

    o just build libdwarf and dwarfdump one might do:
        ./configure
        make dd
        #You may need to be root to do the following copy commands
        cp dwarfdump/dwarfdump      /usr/local/bin
        cp dwarfdump/dwarfdump.conf /usr/local/lib
        #The following is optional, not needed to run dwarfdump
        #when doing the default build.
        cp libdwarf/libdwarf.a      /usr/local/lib
    
    For a simple build of libdwarf, dwarfdump, and dwarfdump2 
    and the other tools:
        ./configure
        make
        cp dwarfdump2/dwarfdump <somewhere>
        #Optionally: cp libdwarf/libdwarf.a <somewhere>
    
    To build all the tools (including dwarfgen and 
    dwarfexample) use 'make all'. There are known 
    small compile-time issues with building dwarfgen on 
    MaxOSX and most don't need to build dwarfgen.
        ./configure
        make all
    
    To also build a shared libdwarf in the process, do:
        ./configure --enable-shared
        make
        cp libdwarf/libdwarf.so <somewhere>
        cp dwarfdump2/dwarfdump <somewhere>
    
    When ready to create a new distro,
    do
    ./CPTOPUBLIC
    ./BLDLIBDWARF yyyymmdd
    where that could be
            ./BLDLIBDWARF 20140131
    as an example.
    
    David Anderson.  Updated February 2, 2014.
  • 相关阅读:
    @getMapping与@postMapping
    springcloud--入门
    Linux(centos6.5)mysql安装
    基于用户Spark ALS推荐系统(转)
    hadoop MapReduce在Linux上运行的一些命令
    Navicat连接阿里云轻量级应用服务器mysql
    HDFS操作笔记
    线程池的5种创建方式
    分布式共享锁的程序逻辑流程
    推荐系统常用数据集
  • 原文地址:https://www.cnblogs.com/zengkefu/p/4974868.html
Copyright © 2020-2023  润新知