Skip to content

Commit 561c955

Browse files
committed
Fix lint
1 parent da70a1e commit 561c955

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

devtools/etdump/etdump_flatcc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ class ETDumpGen : public ::executorch::runtime::EventTracer {
8383
::executorch::runtime::DebugHandle debug_handle = 0) override;
8484
virtual void end_profiling(
8585
::executorch::runtime::EventTracerEntry prof_entry) override;
86-
virtual Result<::executorch::runtime::EventTracerEntry> start_profiling_delegate(
86+
virtual Result<::executorch::runtime::EventTracerEntry>
87+
start_profiling_delegate(
8788
const char* name,
8889
DelegateDebugIntId delegate_debug_index) override;
8990
virtual Result<bool> end_profiling_delegate(

runtime/core/event_tracer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class EventTracer {
215215
* over into internal memory during this call.
216216
* @param[in] delegate_debug_index The id of the delegate event. If string
217217
* based names are used by this delegate to identify ops executed in the
218-
* backend then kUnsetDebugHandle should be passed in here.
218+
* backend then kUnsetDebugHandle should be passed in here.
219219
* @return Returns an Result<EventTracerEntry> instance which may contatain
220220
* a EventTracerEntry instance. The EventTracerEntry instance should be
221221
* passed back into the end_profiling_delegate() call.

runtime/core/event_tracer_hooks_delegate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ inline EventTracerEntry event_tracer_start_profiling_delegate(
5353
DebugHandle delegate_debug_id) {
5454
#ifdef ET_EVENT_TRACER_ENABLED
5555
if (event_tracer) {
56-
Result<EventTracerEntry> res = event_tracer->start_profiling_delegate(
57-
name, delegate_debug_id);
56+
Result<EventTracerEntry> res =
57+
event_tracer->start_profiling_delegate(name, delegate_debug_id);
5858
ET_CHECK_MSG(res.ok(), "Failed to start profiling delegate event");
5959
return res.get();
6060
}

0 commit comments

Comments
 (0)