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

dlt-qnx-system improvement #495

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

lvklevankhanh
Copy link
Contributor

  • QNX:Injection for dlt-qnx-system
    Introduce injection messages for dlt-qnx-system
    It helps to completely disable parsing slog2 entries in some unnecessary cases.

  • dlt-qnx-system:potential leaks
    memory ctxt is allocated via new operator but
    there is no place delete later
    Use static variable instead of dynamic

  • dlt-qnx-system:memory improvement
    It seems that in a rare case the stack memory could face unexpected issue Try to use heap memory instead of stack

  • dlt-qnx-system:release memory in teardown
    The local stack variable to handle context map is handled incorrectly Solution is to apply an improvement with head memory and release memory properly

  • qnxsystem: Correct arguments

Introduce injection messages for dlt-qnx-system
It helps to completely disable parsing slog2 entries
in some unnecessary cases.

Signed-off-by: Bui Nguyen Quoc Thanh <[email protected]>

dlt-qnx-system:potential leaks

memory ctxt is allocated via new operator but
there is no place delete later
Use static variable instead of dynamic

Signed-off-by: Bui Nguyen Quoc Thanh <[email protected]>

dlt-qnx-system:memory improvement

It seems that in a rare case the stack memory could face unexpected issue
Try to use heap memory instead of stack

Signed-off-by: Bui Nguyen Quoc Thanh <[email protected]>

dlt-qnx-system:release memory in teardown

The local stack variable to handle context map is handled incorrectly
Solution is to apply an improvement with head memory and release
memory properly

Signed-off-by: Bui Nguyen Quoc Thanh <[email protected]>

qnxsystem: Correct arguments

Signed-off-by: Saya Sugiura <[email protected]>
Copy link
Collaborator

@michael-methner michael-methner left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@michael-methner michael-methner merged commit c23d02d into COVESA:master Jun 14, 2023
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.

3 participants