diff options
| author | Aleksandar Markovic <[email protected]> | 2017-08-21 14:24:51 +0200 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-08-29 15:21:57 +0200 |
| commit | 25ad8db632ec54c60daad9107ddf25a2a608a450 (patch) | |
| tree | 51efd0b8e1eb701820e6081dabeda8988bd610c4 /tools/perf/scripts/python | |
| parent | ae5f3f5b81dd2c776f0ad49d6d121ce1255b35eb (diff) | |
MIPS: math-emu: Add FP emu debugfs clear functionality
Add capability for the user to clear all FP emu debugfs counters.
This is achieved by having a special debugfs file "fpuemustats_clear"
(under default location "/sys/kernel/debug/mips"). Each access to the
file results in setting all counters to zero (it is enough, let's say,
to issue a "cat /sys/kernel/debug/mips/fpuemustats_clear").
This functionality already exists for R2 emulation statistics,
but was missing for FP emulation statistics. The implementation in
this patch is consistent with its R2 emulation counterpart.
Signed-off-by: Miodrag Dinic <[email protected]>
Signed-off-by: Goran Ferenc <[email protected]>
Signed-off-by: Aleksandar Markovic <[email protected]>
Cc: Douglas Leung <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Petar Jovanovic <[email protected]>
Cc: Raghu Gandham <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/17144/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions