diff options
-rw-r--r-- | trace-record.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/trace-record.c b/trace-record.c index fa23b82..9b331ef 100644 --- a/trace-record.c +++ b/trace-record.c | |||
@@ -1855,6 +1855,13 @@ static void check_plugin(const char *plugin) | |||
1855 | char *buf; | 1855 | char *buf; |
1856 | char *tok; | 1856 | char *tok; |
1857 | 1857 | ||
1858 | /* | ||
1859 | * nop is special. We may want to just trace | ||
1860 | * trace_printks, that are in the kernel. | ||
1861 | */ | ||
1862 | if (strcmp(plugin, "nop") == 0) | ||
1863 | return; | ||
1864 | |||
1858 | buf = read_file("available_tracers", NULL); | 1865 | buf = read_file("available_tracers", NULL); |
1859 | if (!buf) | 1866 | if (!buf) |
1860 | die("No plugins available"); | 1867 | die("No plugins available"); |