History

Merge remote-tracking branch 'torvalds/master' into perf/core

Minor conflict in tools/perf/arch/arm/util/auxtrace.c as one fix there was cherry-picked for the last perf/urgent pull req to Linus, so was already there.

Arnaldo Carvalho de Melo committed 6 years ago

Commit b1aa3db2 parents 7c43b0c bcf87681009 files · +9599 −6464Browse files

Showing the changes to tools/include/uapi (1 of 1009 files). Show all

Unified · Split

tools/include/uapi/linux/bpf.h+21−20
@@ -3171,13 +3171,12 @@ union bpf_attr { · 3170 unmodified lines
31713171 * int bpf_ringbuf_output(void *ringbuf, void *data, u64 size, u64 flags)
31723172 * Description
31733173 * Copy *size* bytes from *data* into a ring buffer *ringbuf*.
3174− * If BPF_RB_NO_WAKEUP is specified in *flags*, no notification of
3175− * new data availability is sent.
3176− * IF BPF_RB_FORCE_WAKEUP is specified in *flags*, notification of
3177− * new data availability is sent unconditionally.
3174+ * If **BPF_RB_NO_WAKEUP** is specified in *flags*, no notification
3175+ * of new data availability is sent.
3176+ * If **BPF_RB_FORCE_WAKEUP** is specified in *flags*, notification
3177+ * of new data availability is sent unconditionally.
31783178 * Return
3179− * 0, on success;
3180− * < 0, on error.
3179+ * 0 on success, or a negative error in case of failure.
31813180 *
31823181 * void *bpf_ringbuf_reserve(void *ringbuf, u64 size, u64 flags)
31833182 * Description
@@ -3189,20 +3188,20 @@ union bpf_attr { · 5 unmodified lines
31893188 * void bpf_ringbuf_submit(void *data, u64 flags)
31903189 * Description
31913190 * Submit reserved ring buffer sample, pointed to by *data*.
3192− * If BPF_RB_NO_WAKEUP is specified in *flags*, no notification of
3193− * new data availability is sent.
3194− * IF BPF_RB_FORCE_WAKEUP is specified in *flags*, notification of
3195− * new data availability is sent unconditionally.
3191+ * If **BPF_RB_NO_WAKEUP** is specified in *flags*, no notification
3192+ * of new data availability is sent.
3193+ * If **BPF_RB_FORCE_WAKEUP** is specified in *flags*, notification
3194+ * of new data availability is sent unconditionally.
31963195 * Return
31973196 * Nothing. Always succeeds.
31983197 *
31993198 * void bpf_ringbuf_discard(void *data, u64 flags)
32003199 * Description
32013200 * Discard reserved ring buffer sample, pointed to by *data*.
3202− * If BPF_RB_NO_WAKEUP is specified in *flags*, no notification of
3203− * new data availability is sent.
3204− * IF BPF_RB_FORCE_WAKEUP is specified in *flags*, notification of
3205− * new data availability is sent unconditionally.
3201+ * If **BPF_RB_NO_WAKEUP** is specified in *flags*, no notification
3202+ * of new data availability is sent.
3203+ * If **BPF_RB_FORCE_WAKEUP** is specified in *flags*, notification
3204+ * of new data availability is sent unconditionally.
32063205 * Return
32073206 * Nothing. Always succeeds.
32083207 *
@@ -3210,16 +3209,18 @@ union bpf_attr { · 1 unmodified line
32103209 * Description
32113210 * Query various characteristics of provided ring buffer. What
32123211 * exactly is queries is determined by *flags*:
3213− * - BPF_RB_AVAIL_DATA - amount of data not yet consumed;
3214− * - BPF_RB_RING_SIZE - the size of ring buffer;
3215− * - BPF_RB_CONS_POS - consumer position (can wrap around);
3216− * - BPF_RB_PROD_POS - producer(s) position (can wrap around);
3217− * Data returned is just a momentary snapshots of actual values
3212+ *
3213+ * * **BPF_RB_AVAIL_DATA**: Amount of data not yet consumed.
3214+ * * **BPF_RB_RING_SIZE**: The size of ring buffer.
3215+ * * **BPF_RB_CONS_POS**: Consumer position (can wrap around).
3216+ * * **BPF_RB_PROD_POS**: Producer(s) position (can wrap around).
3217+ *
3218+ * Data returned is just a momentary snapshot of actual values
32183219 * and could be inaccurate, so this facility should be used to
32193220 * power heuristics and for reporting, not to make 100% correct
32203221 * calculation.
32213222 * Return
3222− * Requested value, or 0, if flags are not recognized.
3223+ * Requested value, or 0, if *flags* are not recognized.
32233224 *
32243225 * int bpf_csum_level(struct sk_buff *skb, u64 level)
32253226 * Description