builtin-top.c (63503dba87acfab49280d3b05df6705a6f327e8a) builtin-top.c (0f98b11c616f240b54ee85629ff4d3650c7ccc7d)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * builtin-top.c
4 *
5 * Builtin top command: Display a continuously updated profile of
6 * any workload, CPU or specific PID.
7 *
8 * Copyright (C) 2008, Red Hat Inc, Ingo Molnar <mingo@redhat.com>

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

1519 int status = hists__init();
1520
1521 if (status < 0)
1522 return status;
1523
1524 top.annotation_opts.min_pcnt = 5;
1525 top.annotation_opts.context = 4;
1526
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * builtin-top.c
4 *
5 * Builtin top command: Display a continuously updated profile of
6 * any workload, CPU or specific PID.
7 *
8 * Copyright (C) 2008, Red Hat Inc, Ingo Molnar <mingo@redhat.com>

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

1519 int status = hists__init();
1520
1521 if (status < 0)
1522 return status;
1523
1524 top.annotation_opts.min_pcnt = 5;
1525 top.annotation_opts.context = 4;
1526
1527 top.evlist = perf_evlist__new();
1527 top.evlist = evlist__new();
1528 if (top.evlist == NULL)
1529 return -ENOMEM;
1530
1531 status = perf_config(perf_top_config, &top);
1532 if (status)
1533 return status;
1534
1535 argc = parse_options(argc, argv, options, top_usage, 0);

--- 133 unchanged lines hidden ---
1528 if (top.evlist == NULL)
1529 return -ENOMEM;
1530
1531 status = perf_config(perf_top_config, &top);
1532 if (status)
1533 return status;
1534
1535 argc = parse_options(argc, argv, options, top_usage, 0);

--- 133 unchanged lines hidden ---