• Ian Rogers's avatar
    perf timechart: Make large arrays dynamic · ddc27bb8
    Ian Rogers authored
    Allocate start time and state arrays when command starts rather than
    using 114,688 bytes in .bss.
    Signed-off-by: default avatarIan Rogers <irogers@google.com>
    Link: https://lore.kernel.org/r/20230526183401.2326121-11-irogers@google.com
    Cc: K Prateek Nayak <kprateek.nayak@amd.com>
    Cc: Ravi Bangoria <ravi.bangoria@amd.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Ross Zwisler <zwisler@chromium.org>
    Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
    Cc: Sean Christopherson <seanjc@google.com>
    Cc: Yang Jihong <yangjihong1@huawei.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Andi Kleen <ak@linux.intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Kan Liang <kan.liang@linux.intel.com>
    Cc: Tiezhu Yang <yangtiezhu@loongson.cn>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-perf-users@vger.kernel.org
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    ddc27bb8
builtin-timechart.c 47.2 KB