Commit 03722454 authored by Gao Chen's avatar Gao Chen Committed by guzitao
Browse files

sw64: trace user task unalignment

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I73O8X



--------------------------------

It specifies user command to be traced, and records count, address
and PC into debugfs. Note that it can only trace a task with its
command name.

To specify command name and clear old unaligned stat:
	echo something > /sys/kernel/debug/sw64/unaligned

To show unaligned stat:
	cat /sys/kernel/debug/sw64/unaligned

Signed-off-by: default avatarGao Chen <gaochen@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent f92e794d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment