diff options
author | Stephen Boyd <[email protected]> | 2018-09-26 11:02:33 -0700 |
---|---|---|
committer | Andy Gross <[email protected]> | 2018-11-14 10:05:50 -0800 |
commit | 84fa36eb30f2e02ebf07a22fea2550a7a3938bec (patch) | |
tree | a56ac94ddbe2af007aea2135f3ab91cde5fb4470 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 808e10330b0a0bebed8fa3c6bb4e8fe728ca2c2a (diff) |
soc: qcom: cmd-db: Remove memcpy()ing from cmd_db_get_header()
The cmd_db_get_header() function is a static local function that doesn't
need to copy anything from one place to another. Instead, it can just
point into the region by returning pointers to what we're looking for.
If we do that, we should mark what we're returning as const so that code
can't modify cmd-db without an obvious cast.
Cc: Mahesh Sivasubramanian <[email protected]>
Cc: Lina Iyer <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Evan Green <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions