diff options
| author | Abdulla Anam <abdullahanam@codeaurora.org> | 2017-05-12 19:47:58 +0530 |
|---|---|---|
| committer | Abdulla Anam <abdullahanam@codeaurora.org> | 2017-06-06 01:50:39 +0530 |
| commit | 0ec1c7415f05eccdd917a7fedb5686bd84f6513d (patch) | |
| tree | f9354d75c438f244e6cd9ec67376da0e5dfc5c46 /tools/perf/scripts/python | |
| parent | 2bfc0eda7e6d832f7b8b2c9cdbed6dd24cdb69d9 (diff) | |
msm: vidc: Allocate memory dynamically for debugfs info_reads
Use dynamically allocated memory for constructing strings in
core_info_read & inst_info_read. This ensures that there is no
contention for a shared memory & hence avoids the requirement of
a lock. Allocate on demand, as the calls implement a debugfs
facility and hence rarely invoked. Statically allocated memory
otherwise remain idle.
Change-Id: I3ae04e0a51801a2fc901591e41e28ff6b7d198b4
Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
