/* * Copyright (C) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export const SpAllocationHtml = `
Start Native Memory Record
Process Record process id or process name
Use Fp Unwind
Use Record Js Stack
Use Record Statistics (Available on recent OpenHarmony 4.0)
Time between following interval (0 = disabled)
S
Use Startup Mode (Available on recent OpenHarmony 4.0)
Use Response Lib Mode (Available on recent OpenHarmony 4.0)
Use Record Accurately (Available on recent OpenHarmony 4.0)
Use Offline Symbolization (Available on recent OpenHarmony 4.0)
Sample Interval (Available on recent OpenHarmony 4.0) Rang is 0 - 65535, default 0 byte
Shared Memory Size Range is 0 - 131072, default 16384 page (One page equals 4 KB)
Max unwind level Rang is 0 - 512, default 20
Max Js Stack Depth Range 0 - 128, default 20
Filter Memory Size Range is 0 - 65535, default 0 byte
Filter Napi Name napi name to filter
`;