Message type for COMMON_REQ_GCOV_DATA.
Change-Id: I97d31059990e33411a685d5d8191c728a02e7d0f
This commit is contained in:
@@ -7,9 +7,9 @@ int gcov_flush_svr(char *buff, int buff_sz, int server_nr)
|
||||
message m;
|
||||
|
||||
memset(&m, 0, sizeof(m));
|
||||
m.GCOV_BUFF_P = buff;
|
||||
m.GCOV_BUFF_SZ = buff_sz;
|
||||
m.GCOV_PID = server_nr;
|
||||
m.m_lc_vfs_gcov.buff_p = buff;
|
||||
m.m_lc_vfs_gcov.buff_sz = buff_sz;
|
||||
m.m_lc_vfs_gcov.pid = server_nr;
|
||||
|
||||
/* Make the call to server. It will call the gcov library,
|
||||
* buffer the stdio requests, and copy the buffer to this user
|
||||
|
||||
+2
-1
@@ -154,7 +154,8 @@ int do_gcov_flush_impl(message *msg)
|
||||
assert(msg->m_type == COMMON_REQ_GCOV_DATA);
|
||||
assert(msg->m_source == VFS_PROC_NR);
|
||||
|
||||
replymsg.m_type = gcov_flush(msg->GCOV_GRANT, msg->GCOV_BUFF_SZ);
|
||||
replymsg.m_type = gcov_flush(msg->m_lc_vfs_gcov.grant,
|
||||
msg->m_lc_vfs_gcov.buff_sz);
|
||||
return ipc_send(msg->m_source, &replymsg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user