aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorManish Ahuja <[email protected]>2008-03-22 10:39:17 +1100
committerPaul Mackerras <[email protected]>2008-03-26 08:44:06 +1100
commitd5a29c7a36958ddec1ae7ab685ce09a002356548 (patch)
tree658282c0e2154e000e46c3fc4fbfd97ccae97fd8 /tools/perf/scripts/python
parent6ac26c8a7eb149dbd669cc6cd9b77ffc9cd0d2fb (diff)
[POWERPC] pseries: phyp dump: Use sysfs to release reserved mem
Check to see if there actually is data from a previously crashed kernel waiting. If so, allow user-space tools to grab the data (by reading /proc/kcore). When user-space finishes dumping a section, it must release that memory by writing to sysfs. For example, echo "0x40000000 0x10000000" > /sys/kernel/release_region will release 256MB starting at the 1GB. The released memory becomes free for general use. Signed-off-by: Linas Vepstas <[email protected]> Signed-off-by: Manish Ahuja <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions