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

Fw logger tool adding sleep #7619

Merged

Conversation

remibettan
Copy link
Contributor

@remibettan remibettan commented Oct 20, 2020

Adding a sleep between each fw log polling.
Default value is hardcoded in the tool's code.
This can be also input by the user using -s <sleep_in_ms>

Triggered by Jira DSO-15939

tools/fw-logger/readme.md Outdated Show resolved Hide resolved
tools/fw-logger/rs-fw-logger.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

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

Specify DSO for tracking

include/librealsense2/h/rs_internal.h Outdated Show resolved Hide resolved
include/librealsense2/h/rs_internal.h Outdated Show resolved Hide resolved
include/librealsense2/hpp/rs_internal.hpp Outdated Show resolved Hide resolved
include/librealsense2/hpp/rs_internal.hpp Outdated Show resolved Hide resolved
src/android/jni/fw_logger.cpp Outdated Show resolved Hide resolved
src/firmware_logger_device.cpp Outdated Show resolved Hide resolved
src/fw-logs/fw-log-data.cpp Outdated Show resolved Hide resolved
src/rs.cpp Outdated
{
VALIDATE_NOT_NULL(dev);

auto fw_loggerable = VALIDATE_INTERFACE(dev->device, librealsense::firmware_logger_extensions);
Copy link
Collaborator

Choose a reason for hiding this comment

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

fw_loggerable -> fw_logger
Return unsigned

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

Choose a reason for hiding this comment

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

fw_loggerable ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done - changed in multiple methods in this file

src/rs.cpp Outdated Show resolved Hide resolved
wrappers/python/pyrs_internal.cpp Outdated Show resolved Hide resolved
src/rs.cpp Outdated
{
VALIDATE_NOT_NULL(dev);

auto fw_loggerable = VALIDATE_INTERFACE(dev->device, librealsense::firmware_logger_extensions);
Copy link
Collaborator

Choose a reason for hiding this comment

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

fw_loggerable ?

tools/fw-logger/rs-fw-logger.cpp Outdated Show resolved Hide resolved
wrappers/python/pyrs_internal.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

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

LGTM

@ev-mp ev-mp merged commit c69c79c into IntelRealSense:development Nov 1, 2020
@remibettan remibettan deleted the fw-logger-tool-adding-sleep branch March 15, 2021 06:34
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