{"id":126,"date":"2026-06-29T10:03:34","date_gmt":"2026-06-29T10:03:34","guid":{"rendered":"https:\/\/www.skillnotes.cloud\/?p=126"},"modified":"2026-06-29T13:53:18","modified_gmt":"2026-06-29T13:53:18","slug":"%e4%bd%bf%e7%94%a8%e8%b0%83%e8%af%95ftrace%e5%af%b9%e6%af%94%e5%87%bd%e6%95%b0","status":"publish","type":"post","link":"https:\/\/www.skillnotes.cloud\/?p=126","title":{"rendered":"\u5bf9\u6bd4ftrace\u8ffd\u8e2a\u7684\u51fd\u6570"},"content":{"rendered":"\n<pre class=\"wp-block-code alignwide\"><code>ffffffffb0721870 t __x64_sys_openat\n\n\u4f7f\u7528gdb\u8c03\u8bd5\/proc\/kcore\n\n(gdb) x\/16xw 0xffffffffb0721870\n                         endbr64           nop \u6307\u4ee4  0f 1f 44 00 00\n0xffffffffb0721870:\t0xfa1e0ff3\t0x00441f0f\t0xec834800\t0xf8894820\n0xffffffffb0721880:\t0x0d8b4865\t0x02606790\t0x244c8948\t0x7f8b4818\n0xffffffffb0721890:\t0x708b4870\t0x508b4868\t0x408b4838\t0x81c18960\n0xffffffffb07218a0:\t0x7f7fc3e1\t0xc9814800\t0x00008000\t0x240c8948\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528ftrace\u5bf9__x64_sys_openat\u51fd\u6570\u8fdb\u884c\u8ffd\u8e2a<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>ffffffffa3721870 t __x64_sys_openat\n\n(gdb) x\/16xw 0xffffffffa3721870\n                         endbr64      \u66ff\u6362\u4e3acall \u6307\u4ee4 e8 87 67 ad 1e \n0xffffffffa3721870:\t0xfa1e0ff3\t0xad6787e8\t0xec83481e\t0xf8894820\n0xffffffffa3721880:\t0x0d8b4865\t0x02606790\t0x244c8948\t0x7f8b4818\n0xffffffffa3721890:\t0x708b4870\t0x508b4868\t0x408b4838\t0x81c18960\n0xffffffffa37218a0:\t0x7f7fc3e1\t0xc9814800\t0x00008000\t0x240c8948<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u5e94\u7684\u6c47\u7f16\u6307\u4ee4\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>ffffffff81721870 &lt;__x64_sys_openat&gt;:\nffffffff81721870:       f3 0f 1e fa             endbr64\nffffffff81721874:       0f 1f 44 00 00          nopl   0x0(%rax,%rax,1)\nffffffff81721879:       48 83 ec 20             sub    $0x20,%rsp\nffffffff8172187d:       48 89 f8                mov    %rdi,%rax\nffffffff81721880:       65 48 8b 0d 90 67 60    mov    %gs:0x2606790(%rip),%rcx        # ffffffff83d28018 &lt;__ref_stack_chk_guard&gt;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528ftrace\u5bf9__x64_sys_openat\u51fd\u6570\u8fdb\u884c\u8ffd\u8e2a \u5bf9\u5e94\u7684\u6c47\u7f16\u6307\u4ee4\u5982\u4e0b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=126"}],"version-history":[{"count":3,"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":129,"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=\/wp\/v2\/posts\/126\/revisions\/129"}],"wp:attachment":[{"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skillnotes.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}