mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Tweak generation of Gen_dummy_probes.pl
Use a static prolog file instead of generating the prolog from the existing perl script. Also, support generation of the file in a vpath build. Discussion: https://postgr.es/m/700620.1620662868@sss.pgh.pa.us
This commit is contained in:
19
src/backend/utils/Gen_dummy_probes.pl.prolog
Normal file
19
src/backend/utils/Gen_dummy_probes.pl.prolog
Normal file
@@ -0,0 +1,19 @@
|
||||
#! /usr/bin/perl -w
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Gen_dummy_probes.pl
|
||||
# Perl script that generates probes.h file when dtrace is not available
|
||||
#
|
||||
# Portions Copyright (c) 2008-2021, PostgreSQL Global Development Group
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# src/backend/utils/Gen_dummy_probes.pl
|
||||
#
|
||||
# This program was generated by running perl's s2p over Gen_dummy_probes.sed
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
# turn off perlcritic for autogenerated code
|
||||
## no critic
|
||||
|
||||
Reference in New Issue
Block a user