> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/dtrace_cam.4.md).

# dtrace\_cam.4

`dtrace_cam` — 用于跟踪 CAM 相关事件的 DTrace 提供者

## 名称

`dtrace_cam`

## 概要

`Fn cam::xpt:action union ccb *ccn Fn cam::xpt:done union ccb *ccb Fn cam::xpt:async-cb void *cbarg uint32_t async_code struct cam_path *path void *async_Arg`

## 描述

`cam` 提供者允许跟踪 CAM 事件。Fn cam::xpt\_action 探测在 CAM 控制块（ccb）提交给 CAM SIM 驱动时触发。Fn cam::xpt:done 探测在该请求完成时触发。Fn cam::xpt:async-cb 探测在异步回调被调用之前触发。

## 参见

[dtrace(1)](/man/man1/dtrace.1.md), cam(4), [SDT(9)](https://github.com/FreeBSD-Ask/freebsd-man-sc/tree/main/man9/sdt.9.md)

## 历史

`cam` 提供者首次出现于 FreeBSD 15.1 和 16.0。

## 作者

本手册页由 Warner Losh <imp@FreeBSD.org> 编写。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/dtrace_cam.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
