• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1--
2-- Copyright 2020 The Android Open Source Project
3--
4-- Licensed under the Apache License, Version 2.0 (the "License");
5-- you may not use this file except in compliance with the License.
6-- You may obtain a copy of the License at
7--
8--     https://www.apache.org/licenses/LICENSE-2.0
9--
10-- Unless required by applicable law or agreed to in writing, software
11-- distributed under the License is distributed on an "AS IS" BASIS,
12-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-- See the License for the specific language governing permissions and
14-- limitations under the License.
15--
16
17SELECT
18  process.upid,
19  process.name,
20  smap.ts,
21  path,
22  size_kb,
23  private_dirty_kb,
24  swap_kb,
25  file_name,
26  start_address,
27  module_timestamp,
28  module_debugid,
29  module_debug_path,
30  protection_flags,
31  private_clean_resident_kb,
32  shared_dirty_resident_kb,
33  shared_clean_resident_kb,
34  locked_kb,
35  proportional_resident_kb
36FROM process
37INNER JOIN profiler_smaps smap ON process.upid = smap.upid
38INNER JOIN memory_snapshot ms ON ms.timestamp = smap.ts
39LIMIT 20
40