You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made the following change in sreadahead.c to make the trace work (near
line 479):
unmount = chdir("/sys/kernel/debug/tracing");
if (unmount == 0) {
chdir("/sys/kernel/debug");
} else {
Instead of:
unmount = chdir("/sys/kernel/debug/tracing");
if (unmount != 0) {
sreadahead was giving the following error messages and failing to create a
pack file before I made this change:
Unable to disable tracing
: No such file or directory
Unable to open readahead file
: No such file or directory
I'd send a patch, but this is a pretty simple change and I actually don't
know of the top of my head how to generate a patch.
Original issue reported on code.google.com by [email protected] on 20 May 2009 at 8:34
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 20 May 2009 at 8:34The text was updated successfully, but these errors were encountered: