-
Notifications
You must be signed in to change notification settings - Fork 14
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
uftrace: add support for UTC offset information #26
uftrace: add support for UTC offset information #26
Conversation
Hi @MatthewKhouzam, namhyung/uftrace#1923 is now on master so you can use it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. Just some formatting issues. I'm not able to test it though.
...uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java
Outdated
Show resolved
Hide resolved
...uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java
Outdated
Show resolved
Hide resolved
...uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java
Outdated
Show resolved
Hide resolved
5163224
to
fe7bc9a
Compare
I didn't read the code carefully but please make sure to handle backward compatibiliy since the previous uftrace data doesn't have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Incubator build is still broken. It needs the PR #28 to be merged first and then a rebase. |
I should have replied earlier. It assumes UTC Offset is 0. If there is a field named UTC Offset and it is NOT "0" it tries to parse the number. If it succeeds in parsing, it assigns the offset to the non-zero value. |
This is a soon to be released feature in uftrace, allows correlation with lttng kernel traces. Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Change-Id: I76ee112ba5c407d7e4810df77882c9e11bfaa43d
c92c5cb
to
672e263
Compare
Simple rebase |
f230c18
into
eclipse-tracecompass-incubator:master
Sounds good. Thanks your work! |
This is a soon to be released feature in uftrace, allows correlation with lttng kernel traces.
This fixes all traces being from boot time and helps with correlation.
Fixes namhyung/uftrace#1923