commit | e5576ae716e01167dee50de57fec13fc0d2e7732 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Wed Aug 05 02:00:05 2020 +0800 |
committer | Yi Kong <yikong@google.com> | Tue Aug 18 00:56:04 2020 +0800 |
tree | 14a997a11fd31ee590456c3406e501266b4775fb | |
parent | 313164200bf3ab0c7cb8c0879f9f6394bc8aaa96 [diff] |
a libprofcollectd wrapper in Rust * Rewrite profcollectd frontends in Rust. * Keep libprofcollect.hpp as a C++ header file; use bindgen to generate Rust FFI declarations. * Use rust module libprofcollect as a safe wrapper to the extern "C" FFI functions. Bug: 163175424 Test: run profcollectd and profcollectctl Change-Id: Iea92dfc87621a50e47e904b7e992643fc1dc8d7a