)]}'
{
  "commit": "42ecc8eec33880139eaec065cd33c81d2aa1f4e2",
  "tree": "3ee844832feeb78c51dd9ce7641c00e990f21536",
  "parents": [
    "b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f"
  ],
  "author": {
    "name": "Anubhav Shelat",
    "email": "ashelat@redhat.com",
    "time": "Tue Nov 03 17:55:34 2026 -0500"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Tue Nov 24 21:28:22 2026 -0500"
  },
  "message": "tracefs: Add read-only eventfs filesystem at /sys/kernel/events\n\nIntroduce a new read-only pseudo-filesystem \"eventfs\" mounted at\n/sys/kernel/events that exposes trace event format and id files\n(mode 0444) to unprivileged users. This allows tools like perf to\ndiscover event formats without requiring access to the full\ntracefs/debugfs mount.\n\nThe eventfs file system reuses the existing eventfs_inode lazy-lookup\ninfrastructure. A new set of super_operations\n(eventfs_ro_super_operations) shares the tracefs inode allocator so\nthat eventfs_get_inode() and get_tracefs() work on the RO superblock.\nThe superblock is manually initialized to ensure the root inode is\nallocated with tracefs_alloc_inode, allowing the root to serve\ndirectly as the events directory without another events subdirectory.\n\nEach qualifying event gets a subsystem directory containing format\nand id files. The top-level events directory also exposes header_page\nand header_event. Similar to tracefs, a change will need to be made in\nsystemd to mount this filesystem automatically.\n\n[\n  Steven Rostedt rewrote to use the lookup functions to determine read\n  only files to show. The struct eventfs_entry now has a \"readonly\" field\n  and if it is set, it will be displayed in the read only file system.\n  The original code [1] duplicated the eventfs_inodes for every event and\n  subsystem. The new approach uses the existing eventfs_inodes (without\n  requiring more memory to store them) and uses the eventfs_entry arrays to\n  show which files are allowed to be read readonly or not.\n\n  [1] https://patch.msgid.link/20260715135231.338535-4-ashelat@redhat.com\n]\n\nLink: https://patch.msgid.link/20261103175534.6bd94b13@gandalf.local.home\nAssisted-by: CLAUDE:claude-opus-4 Apogee\nSigned-off-by: Anubhav Shelat \u003cashelat@redhat.com\u003e\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6457df72173dd939d10cd66d904c900440fff18c",
      "old_mode": 33188,
      "old_path": "fs/tracefs/event_inode.c",
      "new_id": "e57c962ca4416ba6857a2db64adb6266b91b59c0",
      "new_mode": 33188,
      "new_path": "fs/tracefs/event_inode.c"
    },
    {
      "type": "modify",
      "old_id": "5020365ca7048788abdf169645d80ab00f11ce0a",
      "old_mode": 33188,
      "old_path": "fs/tracefs/inode.c",
      "new_id": "8412a661a147c45d0a178175c58e53f65580513a",
      "new_mode": 33188,
      "new_path": "fs/tracefs/inode.c"
    },
    {
      "type": "modify",
      "old_id": "c61481d04c8eebd77d707b4c52582c0c4e076e4e",
      "old_mode": 33188,
      "old_path": "fs/tracefs/internal.h",
      "new_id": "5e87d6d455499f45e073eb4a096104c580999644",
      "new_mode": 33188,
      "new_path": "fs/tracefs/internal.h"
    },
    {
      "type": "modify",
      "old_id": "bc354d3400464c92125b37753af635a49275d284",
      "old_mode": 33188,
      "old_path": "include/linux/tracefs.h",
      "new_id": "61b0ef3a5efdc977073907337b5fe51991dad8cf",
      "new_mode": 33188,
      "new_path": "include/linux/tracefs.h"
    },
    {
      "type": "modify",
      "old_id": "66a91c8b1cb918a5b938ae1f7c6c4f5651433f85",
      "old_mode": 33188,
      "old_path": "include/uapi/linux/magic.h",
      "new_id": "521916f64deeb91f07f865d99eb03cab397d7fc3",
      "new_mode": 33188,
      "new_path": "include/uapi/linux/magic.h"
    },
    {
      "type": "modify",
      "old_id": "7f89160aeff3afc9a3a249d968ac3232a53193d6",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_events.c",
      "new_id": "64c56c313329379546220a54463827eb185df144",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_events.c"
    }
  ]
}
