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

Add callback in perf_reader to handle lost sample events #1092

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

palmtenor
Copy link
Member

Currently for PERF_RECORD_LOST events, we just print a log to stderr. That is not very helpful in production systems.
This PR adds a callback to handle such event, so that user could choose to monitor / export / log in different ways for sample lost events.

Copy link
Collaborator

@drzaeus77 drzaeus77 left a comment

Choose a reason for hiding this comment

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

LGTM

@drzaeus77
Copy link
Collaborator

[buildbot, test this please]

@palmtenor palmtenor force-pushed the lost_cb branch 6 times, most recently from cb87fa7 to 11c33f0 Compare April 4, 2017 01:39
@palmtenor
Copy link
Member Author

Fix Lua, update documentation.

@goldshtn goldshtn merged commit 4b764de into iovisor:master Apr 4, 2017
@palmtenor palmtenor deleted the lost_cb branch April 4, 2017 05:28
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