[roll] Roll fuchsia [starnix] Add PERF_EVENT_IOC_* (DISABLE, ENABLE, RESET) ioctl calls

- Adds PERF_EVENT_IOC_* calls to missing_headers
- Adds disable / enable feature to the perf_event_attr
- Adds reset feature so count gets reset to 0
- In order for `disabled` and `value` to be mutable, save them as RwLock
- Adds close() syscall check for each test (note close() closes the file_descriptor so call it at the end after ALL your read() calls, not after each read())

Testing:
`fx test perf_event_open -o`

Note that there are 6 failing tests via `sudo ~/fuchsia/out/default/linux_x64/perf_event_open_test_bin`, which will be fixed when the read_format is not hardcoded to 40 bytes. This is happening in fxr/1249206 which will be ready shortly.

Original-Bug: 404941053

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1234232
Original-Revision: 1f854e82b4f0bb96ce1ab5637df85f9a8a7507b7
GitOrigin-RevId: 2747c7a74e5c977a13cb25d4578b4e6a50c34805
Change-Id: Ie6ed2fa7e2de8b9787d2f64aabea4c877baba1c0
1 file changed
tree: 715805043ea50f5204b802f8bcc653f61de083d5
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.