|
Lines 419-424
Link Here
|
| 419 |
exit(EXIT_FAILURE); |
419 |
exit(EXIT_FAILURE); |
| 420 |
} |
420 |
} |
| 421 |
|
421 |
|
|
|
422 |
/* Set to print out info - AW - 20090201 */ |
| 423 |
file = fopen("tracing/iter_ctrl", "w"); |
| 424 |
if (!file) { |
| 425 |
perror("Unable to set iter_ctrl\n"); |
| 426 |
/* non-fatal */ |
| 427 |
} else { |
| 428 |
fprintf(file, "ftrace_printk"); |
| 429 |
fclose(file); |
| 430 |
} |
| 431 |
|
| 422 |
file = fopen("tracing/tracing_enabled", "w"); |
432 |
file = fopen("tracing/tracing_enabled", "w"); |
| 423 |
if (!file) { |
433 |
if (!file) { |
| 424 |
perror("Unable to enable tracing\n"); |
434 |
perror("Unable to enable tracing\n"); |