]> git.notmuchmail.org Git - apitrace/commit
Android: hard code the trace file path to be under /data
authorImre Deak <imre.deak@intel.com>
Fri, 30 Mar 2012 12:45:38 +0000 (15:45 +0300)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 13 Apr 2012 06:10:40 +0000 (07:10 +0100)
commit238a4fa658fc2d6dbc86412bda3c0cf237fa63dd
treed78e935d793b029301a1f334c7197243b7d0ebba
parentb64b0df0814a5e7f029ad5465ee71ea5c045c8f3
Android: hard code the trace file path to be under /data

On Android for Dalvik applications cwd is preset to that of the zygote
(app_process) process and it's the root directory. Since root is r/o
mounted by default it's more convenient to have the trace file in /data
which is writeable at least by root by default.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
common/trace_writer_local.cpp