<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masami256</author_name>
  <author_url>https://blog.hatena.ne.jp/masami256/</author_url>
  <blog_title>φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ</blog_title>
  <blog_url>https://kernhack.hatenablog.com/</blog_url>
  <categories>
    <anon>kernel</anon>
    <anon>linux</anon>
  </categories>
  <description>/proc/cpuinfoでcpuの機能を表示するflagsのところってどうやって名称設定してんだろ？と思ったので調べてみたメモです。調べたカーネルのバージョンはv4.14.12です。 ↓これですね /proc/cpuinfoのopen処理 これはfs/proc/cpuinfo.cにあるcpuinfo_open()が担当します。と言っても、実際の処理はseq_operations構造体のcpuinfo_opに関数がセットされていて、それらが実行されます。 extern const struct seq_operations cpuinfo_op; static int cpuinfo_open…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2018%2F01%2F10%2F234425&quot; title=&quot;Linuxの/proc/cpuinfoでflagsを表示しているところの仕組みめも - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/719640/1514202348571315</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-10 23:44:25</published>
  <title>Linuxの/proc/cpuinfoでflagsを表示しているところの仕組みめも</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/2018/01/10/234425</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
