diff options
| author | Abdulla Anam <abdullahanam@codeaurora.org> | 2017-05-12 19:47:58 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-07-07 17:16:07 -0700 |
| commit | 0cf490e7c67cac134fc915c796d1dac2f81fe595 (patch) | |
| tree | 56eae315d07cb3a35e426f225800736cd65aae23 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 3258c685591af0fb133ae47567e9950fc8808663 (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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
