---
title: "Discussion on \"Tracing main thread messages\" | Hashnode"
description: "Discussion on \"Tracing main thread messages\". This blog shows how to see what the main thread is doing in Perfetto traces by leveraging a seldom-used Looper logger API."
url: "https://hashnode.com/posts/tracing-main-thread-messages/61f2f85422a38747671d6edc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Tracing main thread messages](https://blog.p-y.wtf/tracing-main-thread-messages?utm_source=hashnode&utm_medium=feed)

This blog shows how to see what the main thread is doing in Perfetto traces by leveraging a seldom-used Looper logger API.

Jan 27, 2022 · 8 min read · blog.p-y.wtf  
Updated Mar 26  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#android-app-development](https://hashnode.com/tag/android-app-development)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[Pierre-Yves Ricau](https://hashnode.com/@py)

@py · San Francisco

  
[View profile](https://hashnode.com/@py)

Deep dives

My pronouns are he / him. Android Engineer at Square / Block. A few things I enjoy: Publishing Open Source libraries (LeakCanary, Curtains, Radiography, square/logcat) Rollerblading Writing technical blogs (previously on dev.to/pyricau) Cooking Giving tech talks Reading sci-fi

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
