Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc

Issue 271513002: [NaCl SDK] nacl_io: Make IRT intercepts (and their test code) more robust. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/kernel_wrap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc b/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
index 35bf3fcda9b140b5efca8a0e2647bb41bcdd31d7..3b7490b08d188c223675e59db0859f789dd8f380 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
@@ -11,6 +11,7 @@
#include "nacl_io/kernel_proxy.h"
#include "nacl_io/kernel_wrap.h"
#include "nacl_io/kernel_wrap_real.h"
+#include "nacl_io/log.h"
#include "nacl_io/osmman.h"
#include "nacl_io/ossocket.h"
#include "nacl_io/pepper_interface.h"
@@ -48,6 +49,7 @@ int ki_push_state_for_testing() {
}
int ki_init(void* kp) {
+ LOG_TRACE("ki_init: %p", kp);
return ki_init_ppapi(kp, 0, NULL);
}
@@ -67,6 +69,7 @@ int ki_init_ppapi(void* kp,
}
int ki_init_interface(void* kp, void* pepper_interface) {
+ LOG_TRACE("ki_init_interface: %p %p", kp, pepper_interface);
assert(!s_state.kp);
if (s_state.kp != NULL)
return 1;
@@ -92,6 +95,7 @@ int ki_is_initialized() {
}
void ki_uninit() {
+ LOG_TRACE("ki_uninit");
if (s_saved_state.kp == NULL)
kernel_wrap_uninit();
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/kernel_wrap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698