Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct docs moving and add example from source code #73

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

zhongjiajie
Copy link
Contributor

No description provided.

$ flameshow goroutine.out
```

After entering the TUI, the available actions are listed on Footer:

- <kbd>q</kbd> for quit
- <kbd>j</kbd> <kbd>i</kbd> <kbd>j</kbd> <kbd>k</kbd> or <kbd>←</kbd>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong moving key here

README.md Outdated
@@ -40,14 +40,14 @@ nix profile install github:laixintao/flameshow
View golang's goroutine dump:

```shell
$ curl http://localhost:9100/debug/pprof/goroutine -o goroutine.out
$ curl https://raw.githubusercontent.com/laixintao/flameshow/main/tests/pprof_data/goroutine.out -o goroutine.out
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provide exists file in test dir for users get start quickly

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer not changing this line.

The code is for showing user how to view golang's pprof data. User will understand /debug/pprof/goroutine is a pprof format.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it and revert the change

@laixintao
Copy link
Owner

Thank you

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.34%. Comparing base (cdbac05) to head (275ec49).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #73   +/-   ##
=======================================
  Coverage   94.34%   94.34%           
=======================================
  Files          17       17           
  Lines        1185     1185           
=======================================
  Hits         1118     1118           
  Misses         67       67           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

README.md Outdated Show resolved Hide resolved
@zhongjiajie
Copy link
Contributor Author

BTW, ci fail seems we do not pin black version, should I approve the change for latest version of black in this PR, or something else?

@laixintao laixintao merged commit 366d048 into laixintao:main Mar 5, 2024
@laixintao
Copy link
Owner

merged, thanks.

And yes, black should be pinned.

@zhongjiajie zhongjiajie deleted the patch-1 branch March 5, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants