blob: 3ab2f39ea7c11c023b0a99b6ad5d2391abb71f5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- sreadahead.c.orig 2009-01-28 17:26:48.000000000 +1000
+++ sreadahead.c 2009-02-01 16:36:32.000000000 +1000
@@ -419,6 +419,16 @@
exit(EXIT_FAILURE);
}
+ /* Set to print out info - AW - 20090201 */
+ file = fopen("tracing/iter_ctrl", "w");
+ if (!file) {
+ perror("Unable to set iter_ctrl\n");
+ /* non-fatal */
+ } else {
+ fprintf(file, "ftrace_printk");
+ fclose(file);
+ }
+
file = fopen("tracing/tracing_enabled", "w");
if (!file) {
perror("Unable to enable tracing\n");
|