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

mysqld_slower: Fix breakage after USDT API change #752

Merged
merged 2 commits into from
Oct 18, 2016

Conversation

goldshtn
Copy link
Collaborator

A recent PR to the USDT infrastructure changed the BPF
module constructor to accept an array of USDT contexts.
This commit updates mysqld_slower to use that new
constructor.

@brendangregg
Copy link
Member

thanks; is this optional or required? Wondering if we need to change the examples/tracing and docs as well.

@goldshtn
Copy link
Collaborator Author

It isn't optional, the constructor now takes an array. Yes, I haven't thought about the docs. Need to put this on my mental list of things to update when making API changes.

@goldshtn
Copy link
Collaborator Author

@brendangregg: I updated the docs and examples to use the new API.

A recent PR to the USDT infrastructure changed the BPF
module constructor to accept an array of USDT contexts.
This commit updates `mysqld_slower` to use that new
constructor.
The BPF class constructor now accepts an array of USDT
contexts instead of just one object. Update the examples
in **examples/tracing** and docs in **docs** to reflect
this change.
@brendangregg
Copy link
Member

LGTM.

buildbot, retest please

@drzaeus77
Copy link
Collaborator

[buildbot, test this please]

@drzaeus77
Copy link
Collaborator

[buildbot, add to whitelist]

@goldshtn
Copy link
Collaborator Author

Rebased to make this auto-mergeable. @brendangregg Can you please merge?

@drzaeus77 drzaeus77 merged commit 78a3341 into iovisor:master Oct 18, 2016
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.

None yet

3 participants