Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1246772

[RFC PATCH] bpf: bpf_perf_event_sample_control_proto can be static

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [RFC PATCH] bpf: bpf_perf_event_sample_control_proto can be static
Date 2015-10-14 16:00 +0200
Message-ID <qjuL0-k6-17@gated-at.bofh.it> (permalink)
References <qjuL0-k6-19@gated-at.bofh.it> <qjtvA-70U-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 bpf_trace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index f261333..ade24a1 100644
--- a/kernel/trace/bpf_trace.c
+++ b/kernel/trace/bpf_trace.c
@@ -236,7 +236,7 @@ static u64 bpf_perf_event_sample_control(u64 r1, u64 index, u64 flag, u64 r4, u6
 	return 0;
 }
 
-const struct bpf_func_proto bpf_perf_event_sample_control_proto = {
+static const struct bpf_func_proto bpf_perf_event_sample_control_proto = {
 	.func		= bpf_perf_event_sample_control,
 	.gpl_only	= false,
 	.ret_type	= RET_INTEGER,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V2 1/2] bpf: control the trace data output on current cpu when perf sampling Kaixu Xia <xiakaixu@huawei.com> - 2015-10-14 14:40 +0200
  [RFC PATCH] bpf: bpf_perf_event_sample_control_proto can be static kbuild test robot <lkp@intel.com> - 2015-10-14 16:00 +0200
  Re: [PATCH V2 1/2] bpf: control the trace data output on current cpu  when perf sampling kbuild test robot <lkp@intel.com> - 2015-10-14 16:00 +0200
  Re: [PATCH V2 1/2] bpf: control the trace data output on current cpu  when perf sampling Alexei Starovoitov <ast@plumgrid.com> - 2015-10-14 23:30 +0200

csiph-web