<?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>前も調べたことあった気がするけど忘れても良いようにメモを。まずディレクトリを作成するのはdebugfs_create_dir()で１番目の引数はディレクトリ名、2番目はディレクトリを作りたい場所のdentryでNULLを渡せばdebugfsをマウントしている場所になる。例えばdebugfs_create_dir(&quot;foobar&quot;, NULL)を実行した時に/sys/kernel/debugがdebugfsのマウント先なら/sys/kernel/debug/foobarとなる。ディレクトリを作ったら読み書きしたい変数にアクセスするためのファイルを作成。この場合、方法は大雑把に2種類あって１つ目は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2013%2F03%2F13%2F212331&quot; title=&quot;φ(.. )ﾒﾓｼﾃｵｺｳ　debugfsのインターフェース - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-03-13 21:23:31</published>
  <title>φ(.. )ﾒﾓｼﾃｵｺｳ　debugfsのインターフェース</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/2013/03/13/212331</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
