<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/IOReporter/updateReport",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOReporter@F@updateReport#*$@SA@IOReportChannelList#i#&i#&*c#&l#"
  },
  "title" : "updateReport"
}
-->

# updateReport

Produce standard reply to IOService::updateReport()

```
IOReturn updateReport(IOReportChannelList *channelList, IOReportConfigureAction action, uint32_t & elementCount, uint8_t * & buffer, size_t & capacity);
```

## Parameters

`channelList`

Channels to update

`action`

Copy/trace data (see `IOReportTypes.h`)

`elementCount`

Element count.

`buffer`

Buffer.

`capacity`

Capacity.

## Return Value

Appropriate [`IOReturn`](/documentation/DriverKit/IOReturn) code

## Discussion

This method searches channelList for channels tracked by this
reporter, writes the corresponding data into ‘destination’, and
updates ‘result’.  It should be possible to pass a given set of
[`UpdateReport`](/documentation/DriverKit/IOService/UpdateReport) arguments to any and all reporters as
well as to `super::updateReport()` and get the right result.

The static ``IOReporter/updateAllReports` will call this method
on an OSSet of reporters.

Locking: same-instance concurrency SAFE, WILL NOT BLOCK

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)