The NetBSD Project

CVS log for src/external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c

[BACK] Up to [cvs.NetBSD.org] / src / external / cddl / osnet / dist / lib / libdtrace / common

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Feb 15 18:58:02 2023 UTC (14 months ago) by martin
Branch: netbsd-9
Changes since 1.13: +31 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1596):

	external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c: revision 1.15

dtrace: re-fix aggregations to report from all online CPUs

Reapply the fix to dt_status() from rev 1.10
("Don't return success when the target CPU is offline")
which was lost in rev 1.12 ("sync with FreeBSD").

The FreeBSD version that we have been using since then does run on NetBSD
but always reports that CPU 0 is online and all other CPUs are offline,
because the sysctl that it uses does not exist on NetBSD.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Wed Feb 8 17:25:56 2023 UTC (14 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.14.6.1: +0 -1 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by chs in ticket #74):

	external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c: revision 1.16

dtrace: remove unnecessary fflush()

Apply this commit from FreeBSD:

  commit f339a3ef6369b368f3a2455792a7a3a4c28f92c4
  Author: Chuck Silvers <chs@FreeBSD.org>
  Date:   Wed Feb 9 17:09:26 2022 -0800

      dtrace: remove unnecessary fflush()

      This call was added back in the early days of dtrace porting and
      no one knows why anymore.  The extra flushing causes lots of
      unnecessary CPU overhead when a script produces lots of output,
      as well as easily losing output because the command can't keep up.

      Sponsored by:	Netflix
      Reviewed by:	imp, markj
      Differential Revision:	https://reviews.freebsd.org/D34216

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Wed Feb 8 14:40:23 2023 UTC (14 months, 1 week ago) by martin
Branch: netbsd-10
Changes since 1.14: +31 -1 lines
Diff to previous 1.14 (colored)

Pull up following revision(s) (requested by chs in ticket #69):

	external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c: revision 1.15

dtrace: re-fix aggregations to report from all online CPUs

Reapply the fix to dt_status() from rev 1.10
("Don't return success when the target CPU is offline")
which was lost in rev 1.12 ("sync with FreeBSD").

The FreeBSD version that we have been using since then does run on NetBSD
but always reports that CPU 0 is online and all other CPUs are offline,
because the sysctl that it uses does not exist on NetBSD.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 7 22:54:02 2023 UTC (14 months, 1 week ago) by chs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +0 -1 lines
Diff to previous 1.15 (colored)

dtrace: remove unnecessary fflush()

Apply this commit from FreeBSD:

  commit f339a3ef6369b368f3a2455792a7a3a4c28f92c4
  Author: Chuck Silvers <chs@FreeBSD.org>
  Date:   Wed Feb 9 17:09:26 2022 -0800

      dtrace: remove unnecessary fflush()

      This call was added back in the early days of dtrace porting and
      no one knows why anymore.  The extra flushing causes lots of
      unnecessary CPU overhead when a script produces lots of output,
      as well as easily losing output because the command can't keep up.

      Sponsored by:	Netflix
      Reviewed by:	imp, markj
      Differential Revision:	https://reviews.freebsd.org/D34216

Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 6 22:22:12 2023 UTC (14 months, 1 week ago) by chs
Branch: MAIN
Changes since 1.14: +31 -1 lines
Diff to previous 1.14 (colored)

dtrace: re-fix aggregations to report from all online CPUs

Reapply the fix to dt_status() from rev 1.10
("Don't return success when the target CPU is offline")
which was lost in rev 1.12 ("sync with FreeBSD").
The FreeBSD version that we have been using since then does run on NetBSD
but always reports that CPU 0 is online and all other CPUs are offline,
because the sysctl that it uses does not exist on NetBSD.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 6 21:49:32 2020 UTC (3 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Adjust string sizes

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:17 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.12: +20 -9 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 28 21:05:05 2018 UTC (5 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp
Branch point for: netbsd-9
Changes since 1.12: +20 -9 lines
Diff to previous 1.12 (colored)

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Mon May 28 20:52:53 2018 UTC (5 years, 10 months ago) by chs
Branch: sun, FreeBSD
CVS Tags: CDDL-FreeBSD-r315983
Changes since 1.1.1.2: +99 -16 lines
Diff to previous 1.1.1.2 (colored)

import new CDDL dtrace and ZFS code from FreeBSD svn r315983.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 24 14:25:29 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.11: +67 -72 lines
Diff to previous 1.11 (colored)

sync with FreeBSD

Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 21 15:00:30 2015 UTC (9 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.10: +1 -0 lines
Diff to previous 1.10 (colored)

Fix dtrace build error with gcc 4.8 on i386 and arm

_ILP32 is required by dt_popc.

The fix is inspired by FreeBSD.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 18 03:07:56 2015 UTC (9 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.9: +22 -1 lines
Diff to previous 1.9 (colored)

Don't return success when the target CPU is offline

dt_status originally expected the behavior.

This fixes a segfault happens in dt_aggregate_go (a user of dt_status)
that depends on the behavior.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 7 20:30:03 2015 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

check and fix printf formats, negative array indices, uninitialized variables,
shadowed variables.

Revision 1.5.8.2 / (download) - annotate - [select for diffs], Tue Aug 19 23:52:22 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.5.8.1: +12 -12 lines
Diff to previous 1.5.8.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Thu May 22 14:01:23 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.5.2.1: +12 -12 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 27 15:50:48 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

kill sprintf

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 12 17:49:30 2014 UTC (10 years, 3 months ago) by riz
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.6: +10 -10 lines
Diff to previous 1.6 (colored)

Replace llx with PRIx64 and some llu with PRIu64 in format strings.

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:26:46 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

resync with head

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:04:39 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 2 21:19:13 2013 UTC (11 years, 3 months ago) by tron
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

Include "sys/ioctl.h" for the prototype of ioctl(2) which fixes the build.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 19 11:03:52 2011 UTC (12 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.4: +1 -6 lines
Diff to previous 1.4 (colored)

make aggregate work for > 1 cpus

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 27 23:43:52 2010 UTC (14 years, 1 month ago) by haad
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.3: +13 -43 lines
Diff to previous 1.3 (colored)

Merge NetBSD local changes to new zfs version 22 sources.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Feb 27 22:30:13 2010 UTC (14 years, 1 month ago) by haad
Branch: sun, FreeBSD
CVS Tags: osnet-20100224
Changes since 1.1.1.1: +13 -37 lines
Diff to previous 1.1.1.1 (colored)

Import new Opensolaris sources for zfs/dtrace.

Opensolaris mercurial changeset: 11751:58c0c8f4305f

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 21 01:46:34 2010 UTC (14 years, 1 month ago) by darran
Branch: MAIN
Changes since 1.2: +5 -0 lines
Diff to previous 1.2 (colored)

Apply NetBSD changes to DTrace.

Ok with core@.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 21 00:49:55 2010 UTC (14 years, 1 month ago) by darran
Branch: MAIN
CVS Tags: darran-pre-netbsd
Changes since 1.1: +63 -2 lines
Diff to previous 1.1 (colored)

Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Feb 20 04:33:49 2010 UTC (14 years, 1 month ago) by darran
Branch: sun, FreeBSD
CVS Tags: osnet-20081117, darran-pre-freebsd
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 20 04:33:49 2010 UTC (14 years, 1 month ago) by darran
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>