Fix "succesfully" typo in docs and comments

"succesfully" is a common misspelling of "successfully", so replace
it with the correct spelling across the whole codebase wherever it
is misused.

Change-Id: I4bf108f7fa57433627154e0587c8b046236fa3b5
diff --git a/docs/contributing/sdk-releasing.md b/docs/contributing/sdk-releasing.md
index 6898baf..5e62cca 100644
--- a/docs/contributing/sdk-releasing.md
+++ b/docs/contributing/sdk-releasing.md
@@ -133,7 +133,7 @@
 
 7. Within few mins the LUCI scheduler will trigger builds of prebuilt binaries
    on https://luci-scheduler.appspot.com/jobs/perfetto . Wait for all the bots
-   to have completed succesfully and be back into the WAITING state.
+   to have completed successfully and be back into the WAITING state.
 
 8. Run `tools/package-prebuilts-for-github-release vX.Y`. It will pull the
    prebuilts under `/tmp/perfetto-prebuilts-vX.Y`.
diff --git a/include/perfetto/public/consumer_api.h b/include/perfetto/public/consumer_api.h
index 0dd86c9..1a94366 100644
--- a/include/perfetto/public/consumer_api.h
+++ b/include/perfetto/public/consumer_api.h
@@ -83,7 +83,7 @@
   // either to the kTraceEnded state (if successful) or an error state.
   kTracing = 3,
 
-  // Tracing ended succesfully. The trace buffer can now be retrieved through
+  // Tracing ended successfully. The trace buffer can now be retrieved through
   // the ReadTrace() call.
   // This state is final.
   kTraceEnded = 4,
diff --git a/include/perfetto/tracing/internal/track_event_data_source.h b/include/perfetto/tracing/internal/track_event_data_source.h
index 9b64708..69cc958 100644
--- a/include/perfetto/tracing/internal/track_event_data_source.h
+++ b/include/perfetto/tracing/internal/track_event_data_source.h
@@ -157,7 +157,7 @@
  public:
   // Add or remove a session observer for this track event data source. The
   // observer will be notified about started and stopped tracing sessions.
-  // Returns |true| if the observer was succesfully added (i.e., the maximum
+  // Returns |true| if the observer was successfully added (i.e., the maximum
   // number of observers wasn't exceeded).
   static bool AddSessionObserver(TrackEventSessionObserver* observer) {
     return TrackEventInternal::AddSessionObserver(observer);
diff --git a/protos/perfetto/common/trace_stats.proto b/protos/perfetto/common/trace_stats.proto
index f1afc2a..6a6bb7c 100644
--- a/protos/perfetto/common/trace_stats.proto
+++ b/protos/perfetto/common/trace_stats.proto
@@ -172,7 +172,7 @@
   // periodic flushes). The final Flush() is also included in the count.
   optional uint64 flushes_requested = 12;
 
-  // The count of the Flush() requests that were completed succesfully.
+  // The count of the Flush() requests that were completed successfully.
   // In a well behaving trace this should always be == `flush_requests`.
   optional uint64 flushes_succeeded = 13;
 
diff --git a/protos/perfetto/trace/perfetto_trace.proto b/protos/perfetto/trace/perfetto_trace.proto
index de934c6..fb26bbc 100644
--- a/protos/perfetto/trace/perfetto_trace.proto
+++ b/protos/perfetto/trace/perfetto_trace.proto
@@ -2348,7 +2348,7 @@
   // periodic flushes). The final Flush() is also included in the count.
   optional uint64 flushes_requested = 12;
 
-  // The count of the Flush() requests that were completed succesfully.
+  // The count of the Flush() requests that were completed successfully.
   // In a well behaving trace this should always be == `flush_requests`.
   optional uint64 flushes_succeeded = 13;
 
diff --git a/src/tracing/ipc/consumer/consumer_ipc_client_impl.cc b/src/tracing/ipc/consumer/consumer_ipc_client_impl.cc
index 331b2b5..e8309e9 100644
--- a/src/tracing/ipc/consumer/consumer_ipc_client_impl.cc
+++ b/src/tracing/ipc/consumer/consumer_ipc_client_impl.cc
@@ -278,7 +278,7 @@
           }
           const TraceConfig& trace_config = response->trace_config();
 
-          // If attached succesfully, also attach to the end-of-trace
+          // If attached successfully, also attach to the end-of-trace
           // notificaton callback, via EnableTracing(attach_notification_only).
           protos::gen::EnableTracingRequest enable_req;
           enable_req.set_attach_notification_only(true);