mm: mm_event: make capture period configurable
authorMinchan Kim <minchan@google.com>
Mon, 6 Aug 2018 06:02:06 +0000 (15:02 +0900)
committerPDO SCM Team <hudsoncm@motorola.com>
Fri, 15 Nov 2019 06:58:39 +0000 (00:58 -0600)
commitfcf640974d4fb7ad9a50a8ef3904039714d95ac4
treefe8258f45aeaa7fbf37739dd3fe42b1e90cfe4b4
parentd3c43f5260bb8cbb54ed914d43da19f2d19e30ea
mm: mm_event: make capture period configurable

This patch makes per-process mm event capture inteval configurable.
Default is 500ms but admin can change it by below knob.

/sys/kernel/debug/mm_event/period_ms

The unit is millisecond.

Mot-CRs-fixed: (CR)

Bug: 80168800
Change-Id: I3b2de3dd5c4a519a2e5e20f1ef0d5f9a4c7afc8a
Signed-off-by: Minchan Kim <minchan@google.com>
Reviewed-on: https://gerrit.mot.com/1453719
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
mm/mm_event.c