- execve("/usr/sbin/ethtool", ["ethtool", "-T", "eno3"], 0xbfbad448 /* 13 vars */) = 0
- brk(NULL) = 0x20f2000
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa3000
- access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
- openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- fstat64(3, {st_mode=S_IFREG|0644, st_size=127298, ...}) = 0
- mmap2(NULL, 127298, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f83000
- close(3) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- openat(AT_FDCWD, "/lib/i386-linux-gnu/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\301\0\0004\0\0\0"..., 512) = 512
- fstat64(3, {st_mode=S_IFREG|0644, st_size=1058344, ...}) = 0
- mmap2(NULL, 1060976, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e7f000
- mmap2(0xb7e8b000, 790528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0xb7e8b000
- mmap2(0xb7f4c000, 217088, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xcd000) = 0xb7f4c000
- mmap2(0xb7f81000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x101000) = 0xb7f81000
- close(3) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- openat(AT_FDCWD, "/lib/i386-linux-gnu/libmnl.so.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\"\0\0004\0\0\0"..., 512) = 512
- fstat64(3, {st_mode=S_IFREG|0644, st_size=25960, ...}) = 0
- mmap2(NULL, 28680, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e77000
- mmap2(0xb7e79000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb7e79000
- mmap2(0xb7e7b000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb7e7b000
- mmap2(0xb7e7d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0xb7e7d000
- close(3) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- openat(AT_FDCWD, "/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\357\1\0004\0\0\0"..., 512) = 512
- fstat64(3, {st_mode=S_IFREG|0755, st_size=1993968, ...}) = 0
- mmap2(NULL, 2002876, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c8e000
- mprotect(0xb7cab000, 1859584, PROT_NONE) = 0
- mmap2(0xb7cab000, 1396736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d000) = 0xb7cab000
- mmap2(0xb7e00000, 458752, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0xb7e00000
- mmap2(0xb7e71000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e2000) = 0xb7e71000
- mmap2(0xb7e75000, 8124, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e75000
- close(3) = 0
- set_thread_area({entry_number=-1, base_addr=0xb7fa4900, limit=0x0fffff, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=1, seg_not_present=0, useable=1}) = 0 (entry_number=6)
- mprotect(0xb7e71000, 8192, PROT_READ) = 0
- mprotect(0xb7e7d000, 4096, PROT_READ) = 0
- mprotect(0xb7f81000, 4096, PROT_READ) = 0
- mprotect(0x49b000, 28672, PROT_READ) = 0
- mprotect(0xb7fd5000, 4096, PROT_READ) = 0
- munmap(0xb7f83000, 127298) = 0
- brk(NULL) = 0x20f2000
- brk(0x2113000) = 0x2113000
- brk(0x2114000) = 0x2114000
- socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3
- setsockopt(3, SOL_NETLINK, NETLINK_EXT_ACK, [1], 4) = 0
- bind(3, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 0
- getsockname(3, {sa_family=AF_NETLINK, nl_pid=3525, nl_groups=00000000}, [12]) = 0
- sendto(3, {{len=32, type=nlctrl, flags=NLM_F_REQUEST|NLM_F_ACK, seq=1, pid=0}, "\x03\x01\x00\x00\x0c\x00\x02\x00\x65\x74\x68\x74\x6f\x6f\x6c\x00"}, 32, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 32
- recvmsg(3, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=656, type=nlctrl, flags=0, seq=1, pid=3525}, "\x01\x02\x00\x00\x0c\x00\x02\x00\x65\x74\x68\x74\x6f\x6f\x6c\x00\x06\x00\x01\x00\x14\x00\x00\x00\x08\x00\x03\x00\x01\x00\x00\x00"...}, iov_len=65536}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 656
- recvmsg(3, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=1, pid=3525}, {error=0, msg={len=32, type=nlctrl, flags=NLM_F_REQUEST|NLM_F_ACK, seq=1, pid=0}}}, iov_len=65536}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 36
- sendto(3, {{len=36, type=ethtool, flags=NLM_F_REQUEST|NLM_F_ACK, seq=2, pid=0}, "\x19\x01\x00\x00\x10\x00\x01\x80\x09\x00\x02\x00\x65\x6e\x6f\x33\x00\x00\x00\x00"}, 36, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 36
- recvmsg(3, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=416, type=ethtool, flags=0, seq=2, pid=3525}, "\x1a\x01\x00\x00\x18\x00\x01\x80\x08\x00\x01\x00\x03\x00\x00\x00\x09\x00\x02\x00\x65\x6e\x6f\x33\x00\x00\x00\x00\xf0\x00\x02\x80"...}, iov_len=65536}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 416
- fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0), ...}) = 0
- write(1, "Time stamping parameters for eno"..., 35) = 35
- write(1, "Capabilities:\n", 14) = 14
- write(1, "\thardware-transmit\n", 19) = 19
- write(1, "\tsoftware-transmit\n", 19) = 19
- write(1, "\thardware-receive\n", 18) = 18
- write(1, "\tsoftware-receive\n", 18) = 18
- write(1, "\tsoftware-system-clock\n", 23) = 23
- write(1, "\thardware-raw-clock\n", 20) = 20
- write(1, "PTP Hardware Clock: 1\n", 22) = 22
- write(1, "Hardware Transmit Timestamp Mode"..., 35) = 35
- write(1, "\toff\n", 5) = 5
- write(1, "\ton\n", 4) = 4
- write(1, "Hardware Receive Filter Modes:\n", 31) = 31
- write(1, "\tnone\n", 6) = 6
- write(1, "\tall\n", 5) = 5
- recvmsg(3, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=36, type=NLMSG_ERROR, flags=NLM_F_CAPPED, seq=2, pid=3525}, {error=0, msg={len=36, type=ethtool, flags=NLM_F_REQUEST|NLM_F_ACK, seq=2, pid=0}}}, iov_len=65536}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 36
- exit_group(0) = ?
- +++ exited with 0 +++
ethtool -T strace, to see how we can get network card clock information
Posted by Anonymous on Thu 4th Nov 2021 12:15
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.