You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimized the trace <subcommand> [options] - record system behavior
trace record: record a trace file
$ trace record myworkload
[... Ctrl-C to stop ...]
$ trace record myworkload --Logging:enable-logs --end-after-duration 5s
$ trace record myworkload --plan profile --omit Symbolication
$ trace record myworkload --end-on-notification stop-myworkload-trace
[... elsewhere `notifyutil -p stop-myworkload-trace` ...]
$ trace record /tmp/trace-path.atrc --compress
trace amend: add data to a file
$ trace amend myworkload-003.atrc --add Symbolication
trace trim: trim a file based on kdebug event times
$ trace trim myworkload-002.atrc --from +1s --to +2s
trace providers: print information about Logging, Symbolication, etc.
trace plans: print detailed information about tracing approaches
See `man trace` for more information. function in to iterate directly over contributing diagonal elements and their batches. This change avoids a full tensor scan and inefficient index reconstruction, leading to a more efficient trace calculation for N-dimensional tensors.
- Refactored the internal iteration logic within the trace <subcommand> [options] - record system behavior
trace record: record a trace file
$ trace record myworkload
[... Ctrl-C to stop ...]
$ trace record myworkload --Logging:enable-logs --end-after-duration 5s
$ trace record myworkload --plan profile --omit Symbolication
$ trace record myworkload --end-on-notification stop-myworkload-trace
[... elsewhere `notifyutil -p stop-myworkload-trace` ...]
$ trace record /tmp/trace-path.atrc --compress
trace amend: add data to a file
$ trace amend myworkload-003.atrc --add Symbolication
trace trim: trim a file based on kdebug event times
$ trace trim myworkload-002.atrc --from +1s --to +2s
trace providers: print information about Logging, Symbolication, etc.
trace plans: print detailed information about tracing approaches
See `man trace` for more information. function to
leverage direct index calculation using .
- Eliminated redundant full tensor iteration and conditional checks for diagonal elements.
- Ensured correctness with existing test cases.
- Implemented helper function for test utilities.
- Fixed warning.
0 commit comments