summaryrefslogtreecommitdiffstats
path: root/samples/bpf/lwt_len_hist_kern.c
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2018-08-08 00:12:06 -0700
committerIngo Molnar <mingo@kernel.org>2018-10-02 10:14:30 +0200
commitba12d20edc5caf9835006d8f3efd4ed18465c75b (patch)
treeb3b16c6b6feb47c286c4c5eae4779158aae4392b /samples/bpf/lwt_len_hist_kern.c
parenta4c9f26533eb547c8123e9a5f77517f61d19d2c2 (diff)
downloadlinux-ba12d20edc5caf9835006d8f3efd4ed18465c75b.tar.bz2
perf/x86/intel: Factor out common code of PMI handler
The Arch Perfmon v4 PMI handler is substantially different than the older PMI handler. Instead of adding more and more ifs cleanly fork the new handler into a new function, with the main common code factored out into a common function. Fix complaint from checkpatch.pl by removing "false" from "static bool warned". No functional change. Based-on-code-from: Andi Kleen <ak@linux.intel.com> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Cc: acme@kernel.org Link: http://lkml.kernel.org/r/1533712328-2834-1-git-send-email-kan.liang@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'samples/bpf/lwt_len_hist_kern.c')
0 files changed, 0 insertions, 0 deletions