你该不会是装了这个库吧 https://github.com/willsheffl... 我看里面tl,tt是能对上的. 正常的dir(bcc)是这样的>>> dir(bcc) ['ArgString', 'BPF', 'DEBUG_BPF', 'DEBUG_BPF_REGISTER_STATE', 'DEBUG_BTF', 'DEBUG_LLVM_IR', 'DEBUG_PREPROCESSOR', 'DEBUG_SOURCE', 'Perf', 'PerfEventArray', 'PerfHWConfig', 'PerfSWConfig', 'PerfType', 'SymbolCache', 'TRACEFS', 'Table', 'USDT', 'USDTException', '_SYM_CB_TYPE', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '_assert_is_bytes', '_get_num_open_probes', '_num_open_probes', '_probe_limit', 'atexit', 'basestring', 'bcc_stacktrace_build_id', 'bcc_symbol', 'bcc_symbol_option', 'ct', 'decode_map', 'disassemble_prog', 'disassembler', 'errno', 'fcntl', 'get_online_cpus', 'json', 'lib', 'libbcc', 'os', 'perf', 'print_function', 'printb', 're', 'struct', 'sys', 'table', 'usdt', 'utils', 'version']
你该不会是装了这个库吧 https://github.com/willsheffl... 我看里面tl,tt是能对上的.
正常的
dir(bcc)
是这样的