IT Log

Record various IT issues and difficulties.

Tag: eBPF


  • How to retrieve the old values of extended attributes in eBPF

    To retrieve the old values of extended attributes (EAs) in eBPF, follow these steps: Understand Extended Attributes: Recognize that EAs are metadata attached to files providing additional information beyond standard file stats. Use getxattr() for Current Values: Use the getxattr() function to fetch current EA values but note it doesn’t provide historical data. Track Changes…