projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca10ec
)
dlog_logger: remove reader logger sink FD entity
54/286854/1
author
Michal Bloch
<m.bloch@samsung.com>
Fri, 13 Jan 2023 18:48:27 +0000
(19:48 +0100)
committer
Michal Bloch
<m.bloch@samsung.com>
Fri, 13 Jan 2023 18:49:54 +0000
(19:49 +0100)
Reader logger uses internal sub-readers as sinks,
so it does not need a sink FD entity to manage it.
Change-Id: I87248d83b26384e8f37b3999132526b4cd25be4d
src/logger/reader_logger.c
patch
|
blob
|
history
diff --git
a/src/logger/reader_logger.c
b/src/logger/reader_logger.c
index
d061387
..
ca43014
100644
(file)
--- a/
src/logger/reader_logger.c
+++ b/
src/logger/reader_logger.c
@@
-155,7
+155,6
@@
int reader_logger_init(struct reader_logger **reader, log_id_t buf_id, struct lo
ret->skip_count = skip ? logger_get_log_len(read_fd) : 0;
- init_fd_entity(&ret->common.fd_entity_sink, dispatch_event_reader_logger, ret);
init_fd_entity(&ret->common.fd_entity_source, dispatch_event_reader_logger, ret);
set_read_fd_entity(&ret->common.fd_entity_source, read_fd);