我要评分
获取效率
正确性
完整性
易理解

Tool Packages

The Tracer packages (logger_device_arm.tar.gz and logger_device_x86.tar.gz) are available on Kunpeng and x86 platforms. The directory of decompressed logger_device_arm.tar.gz has the following content structure:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
logger_device                            
├── lib 
   ├──libkperf.so              # Performance data collection library.
   ├──libloggerdevice.a        # Function library (static library), which provides log serialization and deserialization capabilities.
   ├──libloggerdevice.so       # Function library (dynamic library), which provides log serialization and deserialization capabilities.
   ├──libsym.so                # Symbol parsing library.
├── include
   ├──dev_trace_log.h          # Provides Tracer APIs.
   ├──dev_trace_log.h          # Provides the metadata parsing file corresponding to dev_trace_log.h.
   ├──logger_device.h          # External API header file, which provides serialization and deserialization APIs.
├── bin                          
   ├──tracelog                 # Tracelog command lines, which generate header files and parse log files based on the .ini file.
   ├──example.ini              # Input .ini file template for code generation, which is used to configure logs

After the logger_device_x86.tar.gz compressed package is decompressed, it does not contain the libkperf.so or libsym.so library file. The Tracer for x86 servers records only common log information.