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

Naïve process walker for Darwin #320

Merged
merged 1 commit into from
Jul 20, 2015
Merged

Conversation

peterbourgon
Copy link
Contributor

This fixes the regression where process names weren't appearing for Darwin probes. Makes testing easier.

@@ -83,24 +83,22 @@ func main() {
)

// TODO provide an alternate implementation for Darwin.

This comment was marked as abuse.

This comment was marked as abuse.

@peterbourgon
Copy link
Contributor Author

OK, I think I addressed your feedback...

@peterbourgon peterbourgon force-pushed the process-names-on-darwin branch from 8fc97f8 to 32f7b22 Compare July 16, 2015 10:11
@peterbourgon
Copy link
Contributor Author

Good?

@tomwilkie
Copy link
Contributor

Yeah LGTM. Please squash, and hold until David's done the release.

@peterbourgon
Copy link
Contributor Author

Of course.

This fixes the regression where process names weren't appearing for
Darwin probes. Makes testing easier.

Also, changes the process walker to operate on value types. There's no
performance advantage to using reference types for something of this
size, and there appeared to be a data race in the Darwin port that
caused nodes to gain and lose process names over time.

Also, restructures how to enable docker scraping. Default false when run
manually, and enabled via --probe.docker true in the scope script.
@peterbourgon peterbourgon force-pushed the process-names-on-darwin branch from 32f7b22 to b585a36 Compare July 16, 2015 10:35
@tomwilkie tomwilkie assigned peterbourgon and unassigned tomwilkie Jul 16, 2015
peterbourgon added a commit that referenced this pull request Jul 20, 2015
@peterbourgon peterbourgon merged commit fb7eed1 into master Jul 20, 2015
@peterbourgon peterbourgon deleted the process-names-on-darwin branch July 20, 2015 15:37
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.

2 participants