Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6f6d0e6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[Trusty][Coverage] Update counter to let Trusty know coverage dump has been read" into main

parents eba4057e b47c9b06
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ void Controller::run(std::string output_dir) {
                filename.insert(0, output_dir);
                android::base::Result<void> res = record_list_[index]->SaveFile(filename);
                counters[index]++;
                WRITE_ONCE(control->read_buffer_cnt, counters[index]);
            }
            if(complete_cnt == counters[index] &&
                !(flags & FLAG_RUN)) {
+1 −1
Original line number Diff line number Diff line
@@ -35,9 +35,9 @@
struct control {
    /* Written by controller, read by instrumented TA */
    uint64_t        cntrl_flags;
    uint64_t        read_buffer_cnt;

    /* Written by instrumented TA, read by controller */
    uint64_t        oper_flags;
    uint64_t        write_buffer_start_count;
    uint64_t        write_buffer_complete_count;
};