builtin-top.c (f7f084f4d3c29b0f9877a32fc6e2feacd47695b9) builtin-top.c (5a2e5e85989025a3bb23ea5571fdac0cc5787807)
1/*
2 * builtin-top.c
3 *
4 * Builtin top command: Display a continuously updated profile of
5 * any workload, CPU or specific PID.
6 *
7 * Copyright (C) 2008, Red Hat Inc, Ingo Molnar <mingo@redhat.com>
8 * 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>

--- 1007 unchanged lines hidden (view full) ---

1016{
1017 symbol_conf.use_callchain = true;
1018 return record_parse_callchain_opt(opt, arg, unset);
1019}
1020
1021static int perf_top_config(const char *var, const char *value, void *cb)
1022{
1023 if (!strcmp(var, "top.call-graph"))
1/*
2 * builtin-top.c
3 *
4 * Builtin top command: Display a continuously updated profile of
5 * any workload, CPU or specific PID.
6 *
7 * Copyright (C) 2008, Red Hat Inc, Ingo Molnar <mingo@redhat.com>
8 * 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>

--- 1007 unchanged lines hidden (view full) ---

1016{
1017 symbol_conf.use_callchain = true;
1018 return record_parse_callchain_opt(opt, arg, unset);
1019}
1020
1021static int perf_top_config(const char *var, const char *value, void *cb)
1022{
1023 if (!strcmp(var, "top.call-graph"))
1024 return parse_callchain_record_opt(value);
1024 var = "call-graph.record-mode"; /* fall-through */
1025 if (!strcmp(var, "top.children")) {
1026 symbol_conf.cumulate_callchain = perf_config_bool(var, value);
1027 return 0;
1028 }
1029
1030 return perf_default_config(var, value, cb);
1031}
1032

--- 232 unchanged lines hidden ---
1025 if (!strcmp(var, "top.children")) {
1026 symbol_conf.cumulate_callchain = perf_config_bool(var, value);
1027 return 0;
1028 }
1029
1030 return perf_default_config(var, value, cb);
1031}
1032

--- 232 unchanged lines hidden ---