diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-11 20:42:11 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-11 20:50:59 -0600 |
commit | 17300c285768d19d0357c73126d54faa37bcbf60 (patch) | |
tree | 6412f2b0bf9b1a4d5eb3b896c79fa8e164ce8bad /dump.c | |
parent | 6e2939f94f551f170b46f44142cbaf097fbf6575 (diff) | |
download | perl-17300c285768d19d0357c73126d54faa37bcbf60.tar.gz |
perlapi: Mark debprofdump internal and document it
Also document debprof.
These are used only to implement the -DP perl command line option.
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -3163,6 +3163,15 @@ Perl_watch(pTHX_ char **addr) PTR2UV(PL_watchaddr), PTR2UV(PL_watchok)); } +/* +=for apidoc debprof + +Called to indicate that C<o> was executed, for profiling purposes under the +C<-DP> command line option. + +=cut +*/ + STATIC void S_debprof(pTHX_ const OP *o) { @@ -3175,6 +3184,15 @@ S_debprof(pTHX_ const OP *o) ++PL_profiledata[o->op_type]; } +/* +=for apidoc debprofdump + +Dumps the contents of the data collected by the C<-DP> perl command line +option. + +=cut +*/ + void Perl_debprofdump(pTHX) { |