xen/gen_hypercall: Leave a breadcrumb in xen-hypercall-defs.h
PATCH 1/1 xen/gen_hypercall: Leave a breadcrumb in xen-hypercall-defs.h
When Cscope-ing through Xen, one occasionally finds themselves in xen-hypercall-defs.h and needing to find the originating file.
This is substantially magic, and even reading the Makefile that produces xen-hypercall-defs.h is of little help if you're not aware of of the %.i : %.c pattern rule, and that the header is generated from a .c file in practice.
No functional change.
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Juergen Gross <[email protected]>
--- xen/scripts/gen_hypercall.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/scripts/gen_hypercall.awk +1 -1
@@ -4,7 +4,7 @@ BEGIN { printf("#ifndef XEN_HYPERCALL_DEFS_H\n"); printf("#define XEN_HYPERCALL_DEFS_H\n\n"); - printf("/* Generated file, do not edit! */\n\n"); + printf("/* Automatically generated from xen/include/hypercall-defs.c - do not edit! */\n\n"); e = 0; n = 0; p = 0;
Signature · 1 line
2.39.5
Quoted 10 lines · Andrew Cooper
When Cscope-ing through Xen, one occasionally finds themselves in
xen-hypercall-defs.hand needing to find the originating file.This is substantially magic, and even reading the
Makefilethat producesxen-hypercall-defs.his of little help if you're not aware of of the %.i : %.c pattern rule, and that the header is generated from a .c file in practice.No functional change.
Signed-off-by Andrew Cooper <[email protected]>
Juergen