mm/migrate: correct failure handling if !hugepage_migration_support()
[firefly-linux-kernel-4.4.55.git] / tools / perf / builtin-trace.c
index 399b4b91b4565b4def22434a8f3e19b9bff0eef7..896f27047ed6178fd6aed5566863fb4f4c251e84 100644 (file)
@@ -1160,26 +1160,27 @@ struct trace {
        struct record_opts      opts;
        struct machine          *host;
        u64                     base_time;
-       bool                    full_time;
        FILE                    *output;
        unsigned long           nr_events;
        struct strlist          *ev_qualifier;
-       bool                    not_ev_qualifier;
-       bool                    live;
        const char              *last_vfs_getname;
        struct intlist          *tid_list;
        struct intlist          *pid_list;
+       double                  duration_filter;
+       double                  runtime_ms;
+       struct {
+               u64             vfs_getname,
+                               proc_getname;
+       } stats;
+       bool                    not_ev_qualifier;
+       bool                    live;
+       bool                    full_time;
        bool                    sched;
        bool                    multiple_threads;
        bool                    summary;
        bool                    summary_only;
        bool                    show_comm;
        bool                    show_tool_stats;
-       double                  duration_filter;
-       double                  runtime_ms;
-       struct {
-               u64             vfs_getname, proc_getname;
-       } stats;
 };
 
 static int trace__set_fd_pathname(struct thread *thread, int fd, const char *pathname)
@@ -2257,7 +2258,7 @@ int cmd_trace(int argc, const char **argv, const char *prefix __maybe_unused)
                        },
                        .user_freq     = UINT_MAX,
                        .user_interval = ULLONG_MAX,
-                       .no_delay      = true,
+                       .no_buffering  = true,
                        .mmap_pages    = 1024,
                },
                .output = stdout,