Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-sdk
Commits
3ae6b91c
Commit
3ae6b91c
authored
4 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[-] Useless log
parent
cfefac2c
No related branches found
No related tags found
No related merge requests found
Pipeline
#6810
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/channel/chain/dap_stream_ch_chain.c
+2
-3
2 additions, 3 deletions
modules/channel/chain/dap_stream_ch_chain.c
with
2 additions
and
3 deletions
modules/channel/chain/dap_stream_ch_chain.c
+
2
−
3
View file @
3ae6b91c
...
@@ -1018,9 +1018,6 @@ void s_stream_ch_packet_out(dap_stream_ch_t* a_ch, void* a_arg)
...
@@ -1018,9 +1018,6 @@ void s_stream_ch_packet_out(dap_stream_ch_t* a_ch, void* a_arg)
dap_stream_ch_chain_t
*
l_ch_chain
=
DAP_STREAM_CH_CHAIN
(
a_ch
);
dap_stream_ch_chain_t
*
l_ch_chain
=
DAP_STREAM_CH_CHAIN
(
a_ch
);
if
(
s_debug_chain_sync
)
log_it
(
L_DEBUG
,
"Out: ch=ch_chain state=%d esocket->buf_out_size=%zd"
,
l_ch_chain
?
l_ch_chain
->
state
:
-
1
,
a_ch
->
stream
->
esocket
->
buf_out_size
);
switch
(
l_ch_chain
->
state
)
{
switch
(
l_ch_chain
->
state
)
{
// Synchronize GDB
// Synchronize GDB
case
CHAIN_STATE_SYNC_GLOBAL_DB
:
{
case
CHAIN_STATE_SYNC_GLOBAL_DB
:
{
...
@@ -1046,6 +1043,7 @@ void s_stream_ch_packet_out(dap_stream_ch_t* a_ch, void* a_arg)
...
@@ -1046,6 +1043,7 @@ void s_stream_ch_packet_out(dap_stream_ch_t* a_ch, void* a_arg)
log_it
(
L_INFO
,
"Syncronized database: last id %llu, items syncronyzed %llu "
,
dap_db_log_get_last_id
(),
log_it
(
L_INFO
,
"Syncronized database: last id %llu, items syncronyzed %llu "
,
dap_db_log_get_last_id
(),
l_ch_chain
->
stats_request_gdb_processed
);
l_ch_chain
->
stats_request_gdb_processed
);
// last message
// last message
l_ch_chain
->
is_on_request
=
false
;
dap_stream_ch_chain_sync_request_t
l_request
=
{};
dap_stream_ch_chain_sync_request_t
l_request
=
{};
dap_stream_ch_chain_pkt_write_unsafe
(
a_ch
,
DAP_STREAM_CH_CHAIN_PKT_TYPE_SYNCED_GLOBAL_DB
,
dap_stream_ch_chain_pkt_write_unsafe
(
a_ch
,
DAP_STREAM_CH_CHAIN_PKT_TYPE_SYNCED_GLOBAL_DB
,
l_ch_chain
->
request_hdr
.
net_id
,
l_ch_chain
->
request_hdr
.
chain_id
,
l_ch_chain
->
request_hdr
.
net_id
,
l_ch_chain
->
request_hdr
.
chain_id
,
...
@@ -1083,6 +1081,7 @@ void s_stream_ch_packet_out(dap_stream_ch_t* a_ch, void* a_arg)
...
@@ -1083,6 +1081,7 @@ void s_stream_ch_packet_out(dap_stream_ch_t* a_ch, void* a_arg)
l_ch_chain
->
request_hdr
.
net_id
,
l_ch_chain
->
request_hdr
.
chain_id
,
l_ch_chain
->
request_hdr
.
net_id
,
l_ch_chain
->
request_hdr
.
chain_id
,
l_ch_chain
->
request_hdr
.
cell_id
,
&
l_request
,
sizeof
(
l_request
));
l_ch_chain
->
request_hdr
.
cell_id
,
&
l_request
,
sizeof
(
l_request
));
log_it
(
L_INFO
,
"Synced: %llu atoms processed"
,
l_ch_chain
->
stats_request_atoms_processed
);
log_it
(
L_INFO
,
"Synced: %llu atoms processed"
,
l_ch_chain
->
stats_request_atoms_processed
);
l_ch_chain
->
is_on_request
=
false
;
dap_stream_ch_chain_go_idle
(
l_ch_chain
);
dap_stream_ch_chain_go_idle
(
l_ch_chain
);
if
(
l_ch_chain
->
callback_notify_packet_out
)
if
(
l_ch_chain
->
callback_notify_packet_out
)
l_ch_chain
->
callback_notify_packet_out
(
l_ch_chain
,
DAP_STREAM_CH_CHAIN_PKT_TYPE_SYNCED_CHAINS
,
NULL
,
l_ch_chain
->
callback_notify_packet_out
(
l_ch_chain
,
DAP_STREAM_CH_CHAIN_PKT_TYPE_SYNCED_CHAINS
,
NULL
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment