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

Initialize live timer to 0 on non-live sessions #33

Closed
wants to merge 2 commits into from
Closed

Initialize live timer to 0 on non-live sessions #33

wants to merge 2 commits into from

Conversation

abusque
Copy link
Contributor

@abusque abusque commented Sep 1, 2015

Fixes bug 879.

The extern declaration of `_lttng_create_session_ext` in `create.c`
had a superfluous `live_timer` parameter not present in the actual
function definition in `lttng_ctl.c`. The -1 value with which it was
called was therefore unused.

Signed-off-by: Antoine Busque <abusque@efficios.com>
The live timer was being initialized to -1 for snapshot sessions,
instead of the expected default value of 0 used elsewhere in the code.

Fixes #879

Signed-off-by: Antoine Busque <abusque@efficios.com>
@jgalar jgalar added this to the LTTng 2.7 milestone Sep 3, 2015
@jgalar
Copy link
Member

jgalar commented Sep 6, 2015

Merged, thanks!

@jgalar jgalar closed this Sep 6, 2015
@abusque abusque deleted the patch-879 branch September 21, 2015 18:29
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