-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add "cmdline" column to "threads" command #249
Conversation
Example:
|
Thanks for working on this! It looks great. This PR unfortunately will continue to get test failures until we merge this one -> #246 I also opened an issue for grabbing a 2nd regression dump at some point that includes user-pages for this to be tested more thoroughly: #250 |
Sure, I haven't worried about getting the tests to pass. I figured I'd wait to get some feedback, and see if folks think this is a good approach to take. I'm a little unsure how to best to accomplish this, since as-is, we won't get the full command line for any threads with long command lines. I don't like limiting to 50 characters, since that may lead us to not get the information we need. I also don't like the arbitrary limit of 50 characters that I'm using right now (e.g. why not 40? or 60? or anything else?). Further, if this approach seems reasonable, and using an arbitrary default limit (like the 50 chars in use now), it'd be probably best to allow the user to override this to get the full command line(s). For example, I was thinking about a |
So here are 2 ideas that are not necessarily mutually exclusive: [1] We can have a [2] We can augment Thoughts? |
Whoa! Ok I vastly underestimated the length of args that we generally see. I'm ok with the 50 limit for now as long as we can still have something like |
4f1ff11
to
775f900
Compare
@sdimitro OK, sounds good. Perhaps then, lets move forward with this, and we can always improve on it later (e.g. add the new |
775f900
to
aaf798b
Compare
Codecov Report
@@ Coverage Diff @@
## master #249 +/- ##
=======================================
Coverage 87.37% 87.37%
=======================================
Files 60 60
Lines 2488 2496 +8
=======================================
+ Hits 2174 2181 +7
- Misses 314 315 +1
Continue to review full report at Codecov.
|
d8f6408
to
8e6e7bc
Compare
No description provided.