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

Make extensible #60

Open
adsr opened this issue Feb 27, 2019 · 0 comments
Open

Make extensible #60

adsr opened this issue Feb 27, 2019 · 0 comments

Comments

@adsr
Copy link
Owner

adsr commented Feb 27, 2019

This was @krakjoe 's idea.

I think we have a head start on this as the tracing code is already decoupled with the event handling code. See:

phpspy/phpspy.c

Line 262 in e9927c8

context.event_handler = event_handler_fout; /* TODO set based on option */

int event_handler_fout(struct trace_context_s *context, int event_type) {

Maybe we write an event_lua.c that is end-user scriptable?

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

No branches or pull requests

1 participant