Commit 2d7e485c authored by MySQL Build Team's avatar MySQL Build Team

Merge from mysql-5.4.1-release (first part only)

parents b0b28dd4 710dff70
...@@ -87,7 +87,7 @@ probes_mysql_dtrace.h: $(DTRACEPROVIDER) ...@@ -87,7 +87,7 @@ probes_mysql_dtrace.h: $(DTRACEPROVIDER)
endif endif
probes_mysql_nodtrace.h: $(DTRACEPROVIDER) probes_mysql_nodtrace.h: $(DTRACEPROVIDER)
$(top_srcdir)/scripts/dheadgen.pl -f $(DTRACEPROVIDER) > $@ @PERL@ $(top_srcdir)/scripts/dheadgen.pl -f $(DTRACEPROVIDER) > $@
# Don't update the files from bitkeeper # Don't update the files from bitkeeper
%::SCCS/s.% %::SCCS/s.%
...@@ -267,23 +267,23 @@ usage() if ($infile !~ /(.+)\.d$/); ...@@ -267,23 +267,23 @@ usage() if ($infile !~ /(.+)\.d$/);
# If the system has native support for DTrace, we'll use that binary instead. # If the system has native support for DTrace, we'll use that binary instead.
# #
if (-x '/usr/sbin/dtrace' && !$force) { if (-x '/usr/sbin/dtrace' && !$force) {
open(my $dt, '-|', "/usr/sbin/dtrace -C -h -s $infile -o /dev/stdout") open(DTRACE, "-| /usr/sbin/dtrace -C -h -s $infile -o /dev/stdout")
or die "can't invoke dtrace(1M)"; or die "can't invoke dtrace(1M)";
while (<$dt>) { while (<DTRACE>) {
emit_dtrace($_); emit_dtrace($_);
} }
close($dt); close(DTRACE);
exit(0); exit(0);
} }
emit_prologue($infile); emit_prologue($infile);
open(my $d, '<', $infile) or die "couldn't open $infile"; open(D, "< $infile") or die "couldn't open $infile";
@lines = <$d>; @lines = <D>;
close($d); close(D);
while (1) { while (1) {
my $nl = 0; my $nl = 0;
......
...@@ -422,28 +422,28 @@ FILE* srv_misc_tmpfile; ...@@ -422,28 +422,28 @@ FILE* srv_misc_tmpfile;
ulint srv_main_thread_process_no = 0; ulint srv_main_thread_process_no = 0;
ulint srv_main_thread_id = 0; ulint srv_main_thread_id = 0;
// The following count work done by srv_master_thread. /* The following count work done by srv_master_thread. */
// Iterations by the 'once per second' loop. /* Iterations by the 'once per second' loop */
ulint srv_main_1_second_loops = 0; ulint srv_main_1_second_loops = 0;
// Calls to sleep by the 'once per second' loop. /* Calls to sleep by the 'once per second' loop */
ulint srv_main_sleeps = 0; ulint srv_main_sleeps = 0;
// Iterations by the 'once per 10 seconds' loop. /* Iterations by the 'once per 10 seconds' loop */
ulint srv_main_10_second_loops = 0; ulint srv_main_10_second_loops = 0;
// Iterations of the loop bounded by the 'background_loop' label. /* Iterations of the loop bounded by the 'background_loop' label */
ulint srv_main_background_loops = 0; ulint srv_main_background_loops = 0;
// Iterations of the loop bounded by the 'flush_loop' label. /* Iterations of the loop bounded by the 'flush_loop' label */
ulint srv_main_flush_loops = 0; ulint srv_main_flush_loops = 0;
// Calls to log_buffer_flush_to_disk. /* Calls to log_buffer_flush_to_disk */
ulint srv_sync_flush = 0; ulint srv_sync_flush = 0;
// Calls to log_buffer_flush_maybe_sync. /* Calls to log_buffer_flush_maybe_sync */
ulint srv_async_flush = 0; ulint srv_async_flush = 0;
// Number of microseconds threads wait because of /* Number of microseconds threads wait because of
// innodb_thread_concurrency innodb_thread_concurrency */
static ib_longlong srv_thread_wait_mics = 0; static ib_longlong srv_thread_wait_mics = 0;
// Number of microseconds for spinlock delay /* Number of microseconds for spinlock delay */
static ib_longlong srv_timed_spin_delay = 0; static ib_longlong srv_timed_spin_delay = 0;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment