目标阵列在answer on a sister site的大小,我试图从Linux内核阵列[email protected]/unix/af_unix.c其定义为转储信息: struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE];
就目前而言,我是硬编码我的stp脚本中的阵列大小:
for (i = 0; i < 512; i++)
我想使用systemtap来提取我的linux生产服务器的细节。我的SystemTap脚本 global bt;
global quit = 0
probe begin {
printf("start profiling...\n")
}
probe timer.profile {
if (pid() == target()) {
if (!quit)