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


Keyword substitution: kv
Default branch: MAIN


Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 15 18:58:02 2023 UTC (21 months, 3 weeks ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +31 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 8 17:25:56 2023 UTC (22 months ago) by martin
Branches: 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
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.1: +0 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 8 14:40:23 2023 UTC (22 months ago) by martin
Branches: netbsd-10
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +31 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 7 22:54:02 2023 UTC (22 months ago) by chs
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +0 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 6 22:22:12 2023 UTC (22 months ago) by chs
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +31 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 6 21:49:32 2020 UTC (4 years, 3 months ago) by christos
Branches: 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Adjust string sizes

Revision 1.12.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:17 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +20 -9 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon May 28 21:05:05 2018 UTC (6 years, 6 months ago) by chs
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +20 -9 lines
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 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon May 28 20:52:53 2018 UTC (6 years, 6 months ago) by chs
Branches: sun, FreeBSD
CVS tags: CDDL-FreeBSD-r315983
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +99 -16 lines
import new CDDL dtrace and ZFS code from FreeBSD svn r315983.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Sep 24 14:25:29 2015 UTC (9 years, 2 months ago) by christos
Branches: 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-3-RELEASE, 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +67 -72 lines
sync with FreeBSD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 21 15:00:30 2015 UTC (9 years, 9 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -0 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 18 03:07:56 2015 UTC (9 years, 9 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +22 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 7 20:30:03 2015 UTC (9 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
check and fix printf formats, negative array indices, uninitialized variables,
shadowed variables.

Revision 1.5.8.2: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:52:22 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.5.8.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.8.1: +12 -12 lines
Rebase to HEAD as of a few days ago.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 14:01:23 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +12 -12 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 27 15:50:48 2014 UTC (10 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
kill sprintf

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jan 12 17:49:30 2014 UTC (10 years, 11 months ago) by riz
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -10 lines
Replace llx with PRIx64 and some llu with PRIu64 in format strings.

Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:26:46 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -0 lines
resync with head

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:04:39 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -0 lines
sync with head

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:19:13 2013 UTC (11 years, 11 months ago) by tron
Branches: MAIN
CVS tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -0 lines
Include "sys/ioctl.h" for the prototype of ioctl(2) which fixes the build.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Oct 19 11:03:52 2011 UTC (13 years, 1 month ago) by yamt
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -6 lines
make aggregate work for > 1 cpus

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Feb 27 23:43:52 2010 UTC (14 years, 9 months ago) by haad
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +13 -43 lines
Merge NetBSD local changes to new zfs version 22 sources.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Feb 27 22:30:13 2010 UTC (14 years, 9 months ago) by haad
Branches: sun, FreeBSD
CVS tags: osnet-20100224
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +13 -37 lines
Import new Opensolaris sources for zfs/dtrace.

Opensolaris mercurial changeset: 11751:58c0c8f4305f

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Feb 21 01:46:34 2010 UTC (14 years, 9 months ago) by darran
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -0 lines
Apply NetBSD changes to DTrace.

Ok with core@.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Feb 21 00:49:55 2010 UTC (14 years, 9 months ago) by darran
Branches: MAIN
CVS tags: darran-pre-netbsd
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +63 -2 lines
Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Feb 20 04:33:49 2010 UTC (14 years, 9 months ago) by darran
Branches: sun, FreeBSD
CVS tags: osnet-20081117, darran-pre-freebsd
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 20 04:33:49 2010 UTC (14 years, 9 months ago) by darran
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>