diff options
author | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2020-07-31 18:13:14 +0900 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2021-01-06 09:27:28 +0900 |
commit | 0955febc56bf8ad49b0eabd7fc7970fd852becde (patch) | |
tree | 1abe6949ed4510bfa8cdbb97425a044a9c3ed6a1 /src/offlinelogstorage/dlt_offline_logstorage_behavior.h | |
parent | 9ed8fa6b42954562eba6f93c1c1734c7e0e70019 (diff) | |
download | DLT-daemon-0955febc56bf8ad49b0eabd7fc7970fd852becde.tar.gz |
logstorage: Handle wrap-around
In case there is wrap-around, the newest file must be decided
based on the biggest wrap_id and corresponding working filename.
Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Signed-off-by: Dinh Cong Toan(RBVH/ECM12) <Toan.DinhCong@vn.bosch.com>
Diffstat (limited to 'src/offlinelogstorage/dlt_offline_logstorage_behavior.h')
-rw-r--r-- | src/offlinelogstorage/dlt_offline_logstorage_behavior.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/offlinelogstorage/dlt_offline_logstorage_behavior.h b/src/offlinelogstorage/dlt_offline_logstorage_behavior.h index cb94aa7..1ed5919 100644 --- a/src/offlinelogstorage/dlt_offline_logstorage_behavior.h +++ b/src/offlinelogstorage/dlt_offline_logstorage_behavior.h @@ -55,7 +55,7 @@ int dlt_logstorage_prepare_on_msg(DltLogStorageFilterConfig *config, DltLogStorageUserConfig *file_config, char *dev_path, int log_msg_size, - char *newest_file); + DltNewestFileName *newest_file_info); int dlt_logstorage_write_on_msg(DltLogStorageFilterConfig *config, DltLogStorageUserConfig *file_config, char *dev_path, @@ -78,7 +78,7 @@ int dlt_logstorage_prepare_msg_cache(DltLogStorageFilterConfig *config, DltLogStorageUserConfig *file_config, char *dev_path, int log_msg_size, - char *newest_file); + DltNewestFileName *newest_file_info); int dlt_logstorage_write_msg_cache(DltLogStorageFilterConfig *config, DltLogStorageUserConfig *file_config, |