Skip to content

Commit

Permalink
fix newline at end of files
Browse files Browse the repository at this point in the history
  • Loading branch information
edeNFed committed Nov 15, 2022
1 parent e333e33 commit a9191ae
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ static __always_inline void *write_target_data(void *data, s32 size)
bpf_printk("failed to write to userspace, error code: %d, addr: %lx, size: %d", success, target, size);
return NULL;
}
}
}
2 changes: 1 addition & 1 deletion include/arguments.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ void *get_argument(struct pt_regs *ctx, int index)
}

return get_argument_by_stack(ctx, index);
}
}
2 changes: 1 addition & 1 deletion include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ struct pt_regs
/* top of stack page */
};

#endif /* __VMLINUX_H__ */
#endif /* __VMLINUX_H__ */
2 changes: 1 addition & 1 deletion include/go_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ static __always_inline void *find_context_in_map(void *ctx, void *context_map)

bpf_printk("context %lx not found in context map", ctx);
return NULL;
}
}
2 changes: 1 addition & 1 deletion include/go_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ static __always_inline void append_item_to_slice(struct go_slice *slice, void *n
// Update len
slice->len++;
long success = bpf_probe_write_user(slice_user_ptr->len, &slice->len, sizeof(slice->len));
}
}
2 changes: 1 addition & 1 deletion include/span_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ static __always_inline void w3c_string_to_span_context(char *str, struct span_co
u32 span_id_start_pod = 36;
hex_string_to_bytes(str + trace_id_start_pos, TRACE_ID_STRING_SIZE, ctx->TraceID);
hex_string_to_bytes(str + span_id_start_pod, SPAN_ID_STRING_SIZE, ctx->SpanID);
}
}
2 changes: 1 addition & 1 deletion include/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ static __always_inline void copy_byte_arrays(unsigned char *src, unsigned char *
{
dst[i] = src[i];
}
}
}

0 comments on commit a9191ae

Please sign in to comment.