mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
vendor: make vendor-update
This commit is contained in:
parent
c9fb217e4e
commit
d8546e972a
24 changed files with 437 additions and 331 deletions
10
go.mod
10
go.mod
|
@ -10,7 +10,7 @@ require (
|
||||||
github.com/VictoriaMetrics/fasthttp v1.0.7
|
github.com/VictoriaMetrics/fasthttp v1.0.7
|
||||||
github.com/VictoriaMetrics/metrics v1.12.3
|
github.com/VictoriaMetrics/metrics v1.12.3
|
||||||
github.com/VictoriaMetrics/metricsql v0.7.1
|
github.com/VictoriaMetrics/metricsql v0.7.1
|
||||||
github.com/aws/aws-sdk-go v1.35.3
|
github.com/aws/aws-sdk-go v1.35.5
|
||||||
github.com/cespare/xxhash/v2 v2.1.1
|
github.com/cespare/xxhash/v2 v2.1.1
|
||||||
github.com/golang/snappy v0.0.2
|
github.com/golang/snappy v0.0.2
|
||||||
github.com/klauspost/compress v1.11.1
|
github.com/klauspost/compress v1.11.1
|
||||||
|
@ -21,11 +21,13 @@ require (
|
||||||
github.com/valyala/gozstd v1.8.3
|
github.com/valyala/gozstd v1.8.3
|
||||||
github.com/valyala/histogram v1.1.2
|
github.com/valyala/histogram v1.1.2
|
||||||
github.com/valyala/quicktemplate v1.6.3
|
github.com/valyala/quicktemplate v1.6.3
|
||||||
golang.org/x/net v0.0.0-20201002202402-0a1ea396d57c // indirect
|
go.opencensus.io v0.22.5 // indirect
|
||||||
|
golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0 // indirect
|
||||||
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
|
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
|
||||||
golang.org/x/sys v0.0.0-20201005172224-997123666555
|
golang.org/x/sys v0.0.0-20201008064518-c1f3e3309c71
|
||||||
golang.org/x/tools v0.0.0-20201005185003-576e169c3de7 // indirect
|
golang.org/x/tools v0.0.0-20201008025239-9df69603baec // indirect
|
||||||
google.golang.org/api v0.32.0
|
google.golang.org/api v0.32.0
|
||||||
|
google.golang.org/genproto v0.0.0-20201007142714-5c0e72c5e71e // indirect
|
||||||
gopkg.in/yaml.v2 v2.3.0
|
gopkg.in/yaml.v2 v2.3.0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
21
go.sum
21
go.sum
|
@ -66,8 +66,8 @@ github.com/VictoriaMetrics/metricsql v0.7.1/go.mod h1:ylO7YITho/Iw6P71oEaGyHbO94
|
||||||
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8=
|
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8=
|
||||||
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
|
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
|
||||||
github.com/andybalholm/brotli v1.0.0/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
|
github.com/andybalholm/brotli v1.0.0/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
|
||||||
github.com/aws/aws-sdk-go v1.35.3 h1:r0puXncSaAfRt7Btml2swUo74Kao+vKhO3VLjwDjK54=
|
github.com/aws/aws-sdk-go v1.35.5 h1:doSEOxC0UkirPcle20Rc+1kAhJ4Ip+GSEeZ3nKl7Qlk=
|
||||||
github.com/aws/aws-sdk-go v1.35.3/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48=
|
github.com/aws/aws-sdk-go v1.35.5/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
|
||||||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||||
github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
|
github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
|
||||||
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
|
@ -86,7 +86,6 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7
|
||||||
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
|
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
|
||||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
|
||||||
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
|
|
||||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
||||||
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||||
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||||
|
@ -202,6 +201,8 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||||
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||||
go.opencensus.io v0.22.4 h1:LYy1Hy3MJdrCdMwwzxA/dRok4ejH+RwNGbuoD9fCjto=
|
go.opencensus.io v0.22.4 h1:LYy1Hy3MJdrCdMwwzxA/dRok4ejH+RwNGbuoD9fCjto=
|
||||||
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||||
|
go.opencensus.io v0.22.5 h1:dntmOdLpSpHlVqbW5Eay97DelsZHe+55D+xC6i0dDS0=
|
||||||
|
go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
|
||||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||||
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
|
@ -272,8 +273,8 @@ golang.org/x/net v0.0.0-20200904194848-62affa334b73 h1:MXfv8rhZWmFeqX3GNZRsd6vOL
|
||||||
golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
|
golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
|
||||||
golang.org/x/net v0.0.0-20200927032502-5d4f70055728 h1:5wtQIAulKU5AbLQOkjxl32UufnIOqgBX72pS0AV14H0=
|
golang.org/x/net v0.0.0-20200927032502-5d4f70055728 h1:5wtQIAulKU5AbLQOkjxl32UufnIOqgBX72pS0AV14H0=
|
||||||
golang.org/x/net v0.0.0-20200927032502-5d4f70055728/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
|
golang.org/x/net v0.0.0-20200927032502-5d4f70055728/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
|
||||||
golang.org/x/net v0.0.0-20201002202402-0a1ea396d57c h1:dk0ukUIHmGHqASjP0iue2261isepFCC6XRCSd1nHgDw=
|
golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0 h1:wBouT66WTYFXdxfVdz9sVWARVd/2vfGcmI45D2gj45M=
|
||||||
golang.org/x/net v0.0.0-20201002202402-0a1ea396d57c/go.mod h1:iQL9McJNjoIa5mjH6nYTCTZXUN6RP+XW3eib7Ya3XcI=
|
golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
||||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
|
@ -319,8 +320,8 @@ golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||||
golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20201005172224-997123666555 h1:fihtqzYxy4E31W1yUlyRGveTZT1JIP0bmKaDZ2ceKAw=
|
golang.org/x/sys v0.0.0-20201008064518-c1f3e3309c71 h1:ZPX6UakxrJCxWiyGWpXtFY+fp86Esy7xJT/jJCG8bgU=
|
||||||
golang.org/x/sys v0.0.0-20201005172224-997123666555/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20201008064518-c1f3e3309c71/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
|
@ -375,8 +376,8 @@ golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82u
|
||||||
golang.org/x/tools v0.0.0-20200915173823-2db8f0ff891c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
golang.org/x/tools v0.0.0-20200915173823-2db8f0ff891c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
||||||
golang.org/x/tools v0.0.0-20200918232735-d647fc253266/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
golang.org/x/tools v0.0.0-20200918232735-d647fc253266/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
||||||
golang.org/x/tools v0.0.0-20201002184944-ecd9fd270d5d/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
golang.org/x/tools v0.0.0-20201002184944-ecd9fd270d5d/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
||||||
golang.org/x/tools v0.0.0-20201005185003-576e169c3de7 h1:YTAUHYgZh/ZOA35/OrjTDmFFKb6ddkBL1Zgtl9r8Di8=
|
golang.org/x/tools v0.0.0-20201008025239-9df69603baec h1:RY2OghEV/7X1MLaecgm1mwFd3sGvUddm5pGVSxQvX0c=
|
||||||
golang.org/x/tools v0.0.0-20201005185003-576e169c3de7/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
golang.org/x/tools v0.0.0-20201008025239-9df69603baec/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
|
||||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
|
@ -446,6 +447,8 @@ google.golang.org/genproto v0.0.0-20200914193844-75d14daec038/go.mod h1:FWY/as6D
|
||||||
google.golang.org/genproto v0.0.0-20200921151605-7abf4a1a14d5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
google.golang.org/genproto v0.0.0-20200921151605-7abf4a1a14d5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||||
google.golang.org/genproto v0.0.0-20201002142447-3860012362da h1:DTQYk4u7nICKkkVZsBv0/0po0ChISxAJ5CTAfUhO0PQ=
|
google.golang.org/genproto v0.0.0-20201002142447-3860012362da h1:DTQYk4u7nICKkkVZsBv0/0po0ChISxAJ5CTAfUhO0PQ=
|
||||||
google.golang.org/genproto v0.0.0-20201002142447-3860012362da/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
google.golang.org/genproto v0.0.0-20201002142447-3860012362da/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||||
|
google.golang.org/genproto v0.0.0-20201007142714-5c0e72c5e71e h1:zYWvTjcAbEy4pVj21IfgFga4rAW107tKspqOi853hjI=
|
||||||
|
google.golang.org/genproto v0.0.0-20201007142714-5c0e72c5e71e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
||||||
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
|
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
|
||||||
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
|
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
|
||||||
|
|
4
vendor/github.com/aws/aws-sdk-go/aws/credentials/credentials.go
generated
vendored
4
vendor/github.com/aws/aws-sdk-go/aws/credentials/credentials.go
generated
vendored
|
@ -173,7 +173,9 @@ type Expiry struct {
|
||||||
// the expiration time given to ensure no requests are made with expired
|
// the expiration time given to ensure no requests are made with expired
|
||||||
// tokens.
|
// tokens.
|
||||||
func (e *Expiry) SetExpiration(expiration time.Time, window time.Duration) {
|
func (e *Expiry) SetExpiration(expiration time.Time, window time.Duration) {
|
||||||
e.expiration = expiration
|
// Passed in expirations should have the monotonic clock values stripped.
|
||||||
|
// This ensures time comparisons will be based on wall-time.
|
||||||
|
e.expiration = expiration.Round(0)
|
||||||
if window > 0 {
|
if window > 0 {
|
||||||
e.expiration = e.expiration.Add(-window)
|
e.expiration = e.expiration.Add(-window)
|
||||||
}
|
}
|
||||||
|
|
1
vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/token_provider.go
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/token_provider.go
generated
vendored
|
@ -87,6 +87,7 @@ func (t *tokenProvider) enableTokenProviderHandler(r *request.Request) {
|
||||||
// If the error code status is 401, we enable the token provider
|
// If the error code status is 401, we enable the token provider
|
||||||
if e, ok := r.Error.(awserr.RequestFailure); ok && e != nil &&
|
if e, ok := r.Error.(awserr.RequestFailure); ok && e != nil &&
|
||||||
e.StatusCode() == http.StatusUnauthorized {
|
e.StatusCode() == http.StatusUnauthorized {
|
||||||
|
t.token.Store(ec2Token{})
|
||||||
atomic.StoreUint32(&t.disabled, 0)
|
atomic.StoreUint32(&t.disabled, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
|
@ -5,4 +5,4 @@ package aws
|
||||||
const SDKName = "aws-sdk-go"
|
const SDKName = "aws-sdk-go"
|
||||||
|
|
||||||
// SDKVersion is the version of this SDK
|
// SDKVersion is the version of this SDK
|
||||||
const SDKVersion = "1.35.3"
|
const SDKVersion = "1.35.5"
|
||||||
|
|
2
vendor/go.opencensus.io/go.mod
generated
vendored
2
vendor/go.opencensus.io/go.mod
generated
vendored
|
@ -7,7 +7,7 @@ require (
|
||||||
github.com/stretchr/testify v1.4.0
|
github.com/stretchr/testify v1.4.0
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
|
||||||
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd // indirect
|
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd // indirect
|
||||||
golang.org/x/text v0.3.2 // indirect
|
golang.org/x/text v0.3.3 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb // indirect
|
google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb // indirect
|
||||||
google.golang.org/grpc v1.20.1
|
google.golang.org/grpc v1.20.1
|
||||||
)
|
)
|
||||||
|
|
18
vendor/go.opencensus.io/stats/view/aggregation.go
generated
vendored
18
vendor/go.opencensus.io/stats/view/aggregation.go
generated
vendored
|
@ -15,6 +15,8 @@
|
||||||
|
|
||||||
package view
|
package view
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
// AggType represents the type of aggregation function used on a View.
|
// AggType represents the type of aggregation function used on a View.
|
||||||
type AggType int
|
type AggType int
|
||||||
|
|
||||||
|
@ -45,20 +47,20 @@ type Aggregation struct {
|
||||||
Type AggType // Type is the AggType of this Aggregation.
|
Type AggType // Type is the AggType of this Aggregation.
|
||||||
Buckets []float64 // Buckets are the bucket endpoints if this Aggregation represents a distribution, see Distribution.
|
Buckets []float64 // Buckets are the bucket endpoints if this Aggregation represents a distribution, see Distribution.
|
||||||
|
|
||||||
newData func() AggregationData
|
newData func(time.Time) AggregationData
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
aggCount = &Aggregation{
|
aggCount = &Aggregation{
|
||||||
Type: AggTypeCount,
|
Type: AggTypeCount,
|
||||||
newData: func() AggregationData {
|
newData: func(t time.Time) AggregationData {
|
||||||
return &CountData{}
|
return &CountData{Start: t}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
aggSum = &Aggregation{
|
aggSum = &Aggregation{
|
||||||
Type: AggTypeSum,
|
Type: AggTypeSum,
|
||||||
newData: func() AggregationData {
|
newData: func(t time.Time) AggregationData {
|
||||||
return &SumData{}
|
return &SumData{Start: t}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -103,8 +105,8 @@ func Distribution(bounds ...float64) *Aggregation {
|
||||||
Type: AggTypeDistribution,
|
Type: AggTypeDistribution,
|
||||||
Buckets: bounds,
|
Buckets: bounds,
|
||||||
}
|
}
|
||||||
agg.newData = func() AggregationData {
|
agg.newData = func(t time.Time) AggregationData {
|
||||||
return newDistributionData(agg)
|
return newDistributionData(agg, t)
|
||||||
}
|
}
|
||||||
return agg
|
return agg
|
||||||
}
|
}
|
||||||
|
@ -114,7 +116,7 @@ func Distribution(bounds ...float64) *Aggregation {
|
||||||
func LastValue() *Aggregation {
|
func LastValue() *Aggregation {
|
||||||
return &Aggregation{
|
return &Aggregation{
|
||||||
Type: AggTypeLastValue,
|
Type: AggTypeLastValue,
|
||||||
newData: func() AggregationData {
|
newData: func(_ time.Time) AggregationData {
|
||||||
return &LastValueData{}
|
return &LastValueData{}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
55
vendor/go.opencensus.io/stats/view/aggregation_data.go
generated
vendored
55
vendor/go.opencensus.io/stats/view/aggregation_data.go
generated
vendored
|
@ -31,6 +31,7 @@ type AggregationData interface {
|
||||||
clone() AggregationData
|
clone() AggregationData
|
||||||
equal(other AggregationData) bool
|
equal(other AggregationData) bool
|
||||||
toPoint(t metricdata.Type, time time.Time) metricdata.Point
|
toPoint(t metricdata.Type, time time.Time) metricdata.Point
|
||||||
|
StartTime() time.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
const epsilon = 1e-9
|
const epsilon = 1e-9
|
||||||
|
@ -40,6 +41,7 @@ const epsilon = 1e-9
|
||||||
//
|
//
|
||||||
// Most users won't directly access count data.
|
// Most users won't directly access count data.
|
||||||
type CountData struct {
|
type CountData struct {
|
||||||
|
Start time.Time
|
||||||
Value int64
|
Value int64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +52,7 @@ func (a *CountData) addSample(_ float64, _ map[string]interface{}, _ time.Time)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *CountData) clone() AggregationData {
|
func (a *CountData) clone() AggregationData {
|
||||||
return &CountData{Value: a.Value}
|
return &CountData{Value: a.Value, Start: a.Start}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *CountData) equal(other AggregationData) bool {
|
func (a *CountData) equal(other AggregationData) bool {
|
||||||
|
@ -59,7 +61,7 @@ func (a *CountData) equal(other AggregationData) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return a.Value == a2.Value
|
return a.Start.Equal(a2.Start) && a.Value == a2.Value
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *CountData) toPoint(metricType metricdata.Type, t time.Time) metricdata.Point {
|
func (a *CountData) toPoint(metricType metricdata.Type, t time.Time) metricdata.Point {
|
||||||
|
@ -71,11 +73,17 @@ func (a *CountData) toPoint(metricType metricdata.Type, t time.Time) metricdata.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StartTime returns the start time of the data being aggregated by CountData.
|
||||||
|
func (a *CountData) StartTime() time.Time {
|
||||||
|
return a.Start
|
||||||
|
}
|
||||||
|
|
||||||
// SumData is the aggregated data for the Sum aggregation.
|
// SumData is the aggregated data for the Sum aggregation.
|
||||||
// A sum aggregation processes data and sums up the recordings.
|
// A sum aggregation processes data and sums up the recordings.
|
||||||
//
|
//
|
||||||
// Most users won't directly access sum data.
|
// Most users won't directly access sum data.
|
||||||
type SumData struct {
|
type SumData struct {
|
||||||
|
Start time.Time
|
||||||
Value float64
|
Value float64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +94,7 @@ func (a *SumData) addSample(v float64, _ map[string]interface{}, _ time.Time) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *SumData) clone() AggregationData {
|
func (a *SumData) clone() AggregationData {
|
||||||
return &SumData{Value: a.Value}
|
return &SumData{Value: a.Value, Start: a.Start}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *SumData) equal(other AggregationData) bool {
|
func (a *SumData) equal(other AggregationData) bool {
|
||||||
|
@ -94,7 +102,7 @@ func (a *SumData) equal(other AggregationData) bool {
|
||||||
if !ok {
|
if !ok {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return math.Pow(a.Value-a2.Value, 2) < epsilon
|
return a.Start.Equal(a2.Start) && math.Pow(a.Value-a2.Value, 2) < epsilon
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *SumData) toPoint(metricType metricdata.Type, t time.Time) metricdata.Point {
|
func (a *SumData) toPoint(metricType metricdata.Type, t time.Time) metricdata.Point {
|
||||||
|
@ -108,6 +116,11 @@ func (a *SumData) toPoint(metricType metricdata.Type, t time.Time) metricdata.Po
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StartTime returns the start time of the data being aggregated by SumData.
|
||||||
|
func (a *SumData) StartTime() time.Time {
|
||||||
|
return a.Start
|
||||||
|
}
|
||||||
|
|
||||||
// DistributionData is the aggregated data for the
|
// DistributionData is the aggregated data for the
|
||||||
// Distribution aggregation.
|
// Distribution aggregation.
|
||||||
//
|
//
|
||||||
|
@ -126,9 +139,10 @@ type DistributionData struct {
|
||||||
// an exemplar for the associated bucket, or nil.
|
// an exemplar for the associated bucket, or nil.
|
||||||
ExemplarsPerBucket []*metricdata.Exemplar
|
ExemplarsPerBucket []*metricdata.Exemplar
|
||||||
bounds []float64 // histogram distribution of the values
|
bounds []float64 // histogram distribution of the values
|
||||||
|
Start time.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
func newDistributionData(agg *Aggregation) *DistributionData {
|
func newDistributionData(agg *Aggregation, t time.Time) *DistributionData {
|
||||||
bucketCount := len(agg.Buckets) + 1
|
bucketCount := len(agg.Buckets) + 1
|
||||||
return &DistributionData{
|
return &DistributionData{
|
||||||
CountPerBucket: make([]int64, bucketCount),
|
CountPerBucket: make([]int64, bucketCount),
|
||||||
|
@ -136,6 +150,7 @@ func newDistributionData(agg *Aggregation) *DistributionData {
|
||||||
bounds: agg.Buckets,
|
bounds: agg.Buckets,
|
||||||
Min: math.MaxFloat64,
|
Min: math.MaxFloat64,
|
||||||
Max: math.SmallestNonzeroFloat64,
|
Max: math.SmallestNonzeroFloat64,
|
||||||
|
Start: t,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -226,7 +241,11 @@ func (a *DistributionData) equal(other AggregationData) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return a.Count == a2.Count && a.Min == a2.Min && a.Max == a2.Max && math.Pow(a.Mean-a2.Mean, 2) < epsilon && math.Pow(a.variance()-a2.variance(), 2) < epsilon
|
return a.Start.Equal(a2.Start) &&
|
||||||
|
a.Count == a2.Count &&
|
||||||
|
a.Min == a2.Min &&
|
||||||
|
a.Max == a2.Max &&
|
||||||
|
math.Pow(a.Mean-a2.Mean, 2) < epsilon && math.Pow(a.variance()-a2.variance(), 2) < epsilon
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *DistributionData) toPoint(metricType metricdata.Type, t time.Time) metricdata.Point {
|
func (a *DistributionData) toPoint(metricType metricdata.Type, t time.Time) metricdata.Point {
|
||||||
|
@ -256,6 +275,11 @@ func (a *DistributionData) toPoint(metricType metricdata.Type, t time.Time) metr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StartTime returns the start time of the data being aggregated by DistributionData.
|
||||||
|
func (a *DistributionData) StartTime() time.Time {
|
||||||
|
return a.Start
|
||||||
|
}
|
||||||
|
|
||||||
// LastValueData returns the last value recorded for LastValue aggregation.
|
// LastValueData returns the last value recorded for LastValue aggregation.
|
||||||
type LastValueData struct {
|
type LastValueData struct {
|
||||||
Value float64
|
Value float64
|
||||||
|
@ -291,3 +315,22 @@ func (l *LastValueData) toPoint(metricType metricdata.Type, t time.Time) metricd
|
||||||
panic("unsupported metricdata.Type")
|
panic("unsupported metricdata.Type")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StartTime returns an empty time value as start time is not recorded when using last value
|
||||||
|
// aggregation.
|
||||||
|
func (l *LastValueData) StartTime() time.Time {
|
||||||
|
return time.Time{}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ClearStart clears the Start field from data if present. Useful for testing in cases where the
|
||||||
|
// start time will be nondeterministic.
|
||||||
|
func ClearStart(data AggregationData) {
|
||||||
|
switch data := data.(type) {
|
||||||
|
case *CountData:
|
||||||
|
data.Start = time.Time{}
|
||||||
|
case *SumData:
|
||||||
|
data.Start = time.Time{}
|
||||||
|
case *DistributionData:
|
||||||
|
data.Start = time.Time{}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
2
vendor/go.opencensus.io/stats/view/collector.go
generated
vendored
2
vendor/go.opencensus.io/stats/view/collector.go
generated
vendored
|
@ -35,7 +35,7 @@ type collector struct {
|
||||||
func (c *collector) addSample(s string, v float64, attachments map[string]interface{}, t time.Time) {
|
func (c *collector) addSample(s string, v float64, attachments map[string]interface{}, t time.Time) {
|
||||||
aggregator, ok := c.signatures[s]
|
aggregator, ok := c.signatures[s]
|
||||||
if !ok {
|
if !ok {
|
||||||
aggregator = c.a.newData()
|
aggregator = c.a.newData(t)
|
||||||
c.signatures[s] = aggregator
|
c.signatures[s] = aggregator
|
||||||
}
|
}
|
||||||
aggregator.addSample(v, attachments, t)
|
aggregator.addSample(v, attachments, t)
|
||||||
|
|
13
vendor/go.opencensus.io/stats/view/view_to_metric.go
generated
vendored
13
vendor/go.opencensus.io/stats/view/view_to_metric.go
generated
vendored
|
@ -119,20 +119,15 @@ func toLabelValues(row *Row, expectedKeys []metricdata.LabelKey) []metricdata.La
|
||||||
return labelValues
|
return labelValues
|
||||||
}
|
}
|
||||||
|
|
||||||
func rowToTimeseries(v *viewInternal, row *Row, now time.Time, startTime time.Time) *metricdata.TimeSeries {
|
func rowToTimeseries(v *viewInternal, row *Row, now time.Time) *metricdata.TimeSeries {
|
||||||
return &metricdata.TimeSeries{
|
return &metricdata.TimeSeries{
|
||||||
Points: []metricdata.Point{row.Data.toPoint(v.metricDescriptor.Type, now)},
|
Points: []metricdata.Point{row.Data.toPoint(v.metricDescriptor.Type, now)},
|
||||||
LabelValues: toLabelValues(row, v.metricDescriptor.LabelKeys),
|
LabelValues: toLabelValues(row, v.metricDescriptor.LabelKeys),
|
||||||
StartTime: startTime,
|
StartTime: row.Data.StartTime(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func viewToMetric(v *viewInternal, r *resource.Resource, now time.Time, startTime time.Time) *metricdata.Metric {
|
func viewToMetric(v *viewInternal, r *resource.Resource, now time.Time) *metricdata.Metric {
|
||||||
if v.metricDescriptor.Type == metricdata.TypeGaugeInt64 ||
|
|
||||||
v.metricDescriptor.Type == metricdata.TypeGaugeFloat64 {
|
|
||||||
startTime = time.Time{}
|
|
||||||
}
|
|
||||||
|
|
||||||
rows := v.collectedRows()
|
rows := v.collectedRows()
|
||||||
if len(rows) == 0 {
|
if len(rows) == 0 {
|
||||||
return nil
|
return nil
|
||||||
|
@ -140,7 +135,7 @@ func viewToMetric(v *viewInternal, r *resource.Resource, now time.Time, startTim
|
||||||
|
|
||||||
ts := []*metricdata.TimeSeries{}
|
ts := []*metricdata.TimeSeries{}
|
||||||
for _, row := range rows {
|
for _, row := range rows {
|
||||||
ts = append(ts, rowToTimeseries(v, row, now, startTime))
|
ts = append(ts, rowToTimeseries(v, row, now))
|
||||||
}
|
}
|
||||||
|
|
||||||
m := &metricdata.Metric{
|
m := &metricdata.Metric{
|
||||||
|
|
36
vendor/go.opencensus.io/stats/view/worker.go
generated
vendored
36
vendor/go.opencensus.io/stats/view/worker.go
generated
vendored
|
@ -41,9 +41,9 @@ type measureRef struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type worker struct {
|
type worker struct {
|
||||||
measures map[string]*measureRef
|
measures map[string]*measureRef
|
||||||
views map[string]*viewInternal
|
views map[string]*viewInternal
|
||||||
startTimes map[*viewInternal]time.Time
|
viewStartTimes map[*viewInternal]time.Time
|
||||||
|
|
||||||
timer *time.Ticker
|
timer *time.Ticker
|
||||||
c chan command
|
c chan command
|
||||||
|
@ -244,13 +244,13 @@ func (w *worker) SetReportingPeriod(d time.Duration) {
|
||||||
// a single process.
|
// a single process.
|
||||||
func NewMeter() Meter {
|
func NewMeter() Meter {
|
||||||
return &worker{
|
return &worker{
|
||||||
measures: make(map[string]*measureRef),
|
measures: make(map[string]*measureRef),
|
||||||
views: make(map[string]*viewInternal),
|
views: make(map[string]*viewInternal),
|
||||||
startTimes: make(map[*viewInternal]time.Time),
|
viewStartTimes: make(map[*viewInternal]time.Time),
|
||||||
timer: time.NewTicker(defaultReportingDuration),
|
timer: time.NewTicker(defaultReportingDuration),
|
||||||
c: make(chan command, 1024),
|
c: make(chan command, 1024),
|
||||||
quit: make(chan bool),
|
quit: make(chan bool),
|
||||||
done: make(chan bool),
|
done: make(chan bool),
|
||||||
|
|
||||||
exporters: make(map[Exporter]struct{}),
|
exporters: make(map[Exporter]struct{}),
|
||||||
}
|
}
|
||||||
|
@ -324,7 +324,7 @@ func (w *worker) tryRegisterView(v *View) (*viewInternal, error) {
|
||||||
return x, nil
|
return x, nil
|
||||||
}
|
}
|
||||||
w.views[vi.view.Name] = vi
|
w.views[vi.view.Name] = vi
|
||||||
w.startTimes[vi] = time.Now()
|
w.viewStartTimes[vi] = time.Now()
|
||||||
ref := w.getMeasureRef(vi.view.Measure.Name())
|
ref := w.getMeasureRef(vi.view.Measure.Name())
|
||||||
ref.views[vi] = struct{}{}
|
ref.views[vi] = struct{}{}
|
||||||
return vi, nil
|
return vi, nil
|
||||||
|
@ -334,7 +334,7 @@ func (w *worker) unregisterView(v *viewInternal) {
|
||||||
w.mu.Lock()
|
w.mu.Lock()
|
||||||
defer w.mu.Unlock()
|
defer w.mu.Unlock()
|
||||||
delete(w.views, v.view.Name)
|
delete(w.views, v.view.Name)
|
||||||
delete(w.startTimes, v)
|
delete(w.viewStartTimes, v)
|
||||||
if measure := w.measures[v.view.Measure.Name()]; measure != nil {
|
if measure := w.measures[v.view.Measure.Name()]; measure != nil {
|
||||||
delete(measure.views, v)
|
delete(measure.views, v)
|
||||||
}
|
}
|
||||||
|
@ -347,7 +347,7 @@ func (w *worker) reportView(v *viewInternal) {
|
||||||
rows := v.collectedRows()
|
rows := v.collectedRows()
|
||||||
viewData := &Data{
|
viewData := &Data{
|
||||||
View: v.view,
|
View: v.view,
|
||||||
Start: w.startTimes[v],
|
Start: w.viewStartTimes[v],
|
||||||
End: time.Now(),
|
End: time.Now(),
|
||||||
Rows: rows,
|
Rows: rows,
|
||||||
}
|
}
|
||||||
|
@ -371,15 +371,7 @@ func (w *worker) toMetric(v *viewInternal, now time.Time) *metricdata.Metric {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var startTime time.Time
|
return viewToMetric(v, w.r, now)
|
||||||
if v.metricDescriptor.Type == metricdata.TypeGaugeInt64 ||
|
|
||||||
v.metricDescriptor.Type == metricdata.TypeGaugeFloat64 {
|
|
||||||
startTime = time.Time{}
|
|
||||||
} else {
|
|
||||||
startTime = w.startTimes[v]
|
|
||||||
}
|
|
||||||
|
|
||||||
return viewToMetric(v, w.r, now, startTime)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read reads all view data and returns them as metrics.
|
// Read reads all view data and returns them as metrics.
|
||||||
|
|
35
vendor/go.opencensus.io/trace/trace.go
generated
vendored
35
vendor/go.opencensus.io/trace/trace.go
generated
vendored
|
@ -206,6 +206,10 @@ func startSpanInternal(name string, hasParent bool, parent SpanContext, remotePa
|
||||||
span.spanContext = parent
|
span.spanContext = parent
|
||||||
|
|
||||||
cfg := config.Load().(*Config)
|
cfg := config.Load().(*Config)
|
||||||
|
if gen, ok := cfg.IDGenerator.(*defaultIDGenerator); ok {
|
||||||
|
// lazy initialization
|
||||||
|
gen.init()
|
||||||
|
}
|
||||||
|
|
||||||
if !hasParent {
|
if !hasParent {
|
||||||
span.spanContext.TraceID = cfg.IDGenerator.NewTraceID()
|
span.spanContext.TraceID = cfg.IDGenerator.NewTraceID()
|
||||||
|
@ -534,20 +538,9 @@ func (s *Span) String() string {
|
||||||
var config atomic.Value // access atomically
|
var config atomic.Value // access atomically
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
gen := &defaultIDGenerator{}
|
|
||||||
// initialize traceID and spanID generators.
|
|
||||||
var rngSeed int64
|
|
||||||
for _, p := range []interface{}{
|
|
||||||
&rngSeed, &gen.traceIDAdd, &gen.nextSpanID, &gen.spanIDInc,
|
|
||||||
} {
|
|
||||||
binary.Read(crand.Reader, binary.LittleEndian, p)
|
|
||||||
}
|
|
||||||
gen.traceIDRand = rand.New(rand.NewSource(rngSeed))
|
|
||||||
gen.spanIDInc |= 1
|
|
||||||
|
|
||||||
config.Store(&Config{
|
config.Store(&Config{
|
||||||
DefaultSampler: ProbabilitySampler(defaultSamplingProbability),
|
DefaultSampler: ProbabilitySampler(defaultSamplingProbability),
|
||||||
IDGenerator: gen,
|
IDGenerator: &defaultIDGenerator{},
|
||||||
MaxAttributesPerSpan: DefaultMaxAttributesPerSpan,
|
MaxAttributesPerSpan: DefaultMaxAttributesPerSpan,
|
||||||
MaxAnnotationEventsPerSpan: DefaultMaxAnnotationEventsPerSpan,
|
MaxAnnotationEventsPerSpan: DefaultMaxAnnotationEventsPerSpan,
|
||||||
MaxMessageEventsPerSpan: DefaultMaxMessageEventsPerSpan,
|
MaxMessageEventsPerSpan: DefaultMaxMessageEventsPerSpan,
|
||||||
|
@ -571,6 +564,24 @@ type defaultIDGenerator struct {
|
||||||
|
|
||||||
traceIDAdd [2]uint64
|
traceIDAdd [2]uint64
|
||||||
traceIDRand *rand.Rand
|
traceIDRand *rand.Rand
|
||||||
|
|
||||||
|
initOnce sync.Once
|
||||||
|
}
|
||||||
|
|
||||||
|
// init initializes the generator on the first call to avoid consuming entropy
|
||||||
|
// unnecessarily.
|
||||||
|
func (gen *defaultIDGenerator) init() {
|
||||||
|
gen.initOnce.Do(func() {
|
||||||
|
// initialize traceID and spanID generators.
|
||||||
|
var rngSeed int64
|
||||||
|
for _, p := range []interface{}{
|
||||||
|
&rngSeed, &gen.traceIDAdd, &gen.nextSpanID, &gen.spanIDInc,
|
||||||
|
} {
|
||||||
|
binary.Read(crand.Reader, binary.LittleEndian, p)
|
||||||
|
}
|
||||||
|
gen.traceIDRand = rand.New(rand.NewSource(rngSeed))
|
||||||
|
gen.spanIDInc |= 1
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewSpanID returns a non-zero span ID from a randomly-chosen sequence.
|
// NewSpanID returns a non-zero span ID from a randomly-chosen sequence.
|
||||||
|
|
1
vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
1
vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
|
@ -94,6 +94,7 @@ includes_DragonFly='
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <net/bpf.h>
|
#include <net/bpf.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
#include <net/if_clone.h>
|
||||||
#include <net/if_types.h>
|
#include <net/if_types.h>
|
||||||
#include <net/route.h>
|
#include <net/route.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
2
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
2
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
|
@ -554,7 +554,7 @@ func Minor(dev uint64) uint32 {
|
||||||
|
|
||||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||||
|
|
||||||
func IoctlSetTermio(fd int, req uint, value *Termio) (err error) {
|
func IoctlSetTermio(fd int, req uint, value *Termio) error {
|
||||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||||
runtime.KeepAlive(value)
|
runtime.KeepAlive(value)
|
||||||
return err
|
return err
|
||||||
|
|
138
vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
generated
vendored
138
vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
generated
vendored
|
@ -62,6 +62,7 @@ const (
|
||||||
B28800 = 0x7080
|
B28800 = 0x7080
|
||||||
B300 = 0x12c
|
B300 = 0x12c
|
||||||
B38400 = 0x9600
|
B38400 = 0x9600
|
||||||
|
B460800 = 0x70800
|
||||||
B4800 = 0x12c0
|
B4800 = 0x12c0
|
||||||
B50 = 0x32
|
B50 = 0x32
|
||||||
B57600 = 0xe100
|
B57600 = 0xe100
|
||||||
|
@ -69,12 +70,15 @@ const (
|
||||||
B7200 = 0x1c20
|
B7200 = 0x1c20
|
||||||
B75 = 0x4b
|
B75 = 0x4b
|
||||||
B76800 = 0x12c00
|
B76800 = 0x12c00
|
||||||
|
B921600 = 0xe1000
|
||||||
B9600 = 0x2580
|
B9600 = 0x2580
|
||||||
|
BIOCFEEDBACK = 0x8004427d
|
||||||
BIOCFLUSH = 0x20004268
|
BIOCFLUSH = 0x20004268
|
||||||
BIOCGBLEN = 0x40044266
|
BIOCGBLEN = 0x40044266
|
||||||
BIOCGDLT = 0x4004426a
|
BIOCGDLT = 0x4004426a
|
||||||
BIOCGDLTLIST = 0xc0104279
|
BIOCGDLTLIST = 0xc0104279
|
||||||
BIOCGETIF = 0x4020426b
|
BIOCGETIF = 0x4020426b
|
||||||
|
BIOCGFEEDBACK = 0x4004427c
|
||||||
BIOCGHDRCMPLT = 0x40044274
|
BIOCGHDRCMPLT = 0x40044274
|
||||||
BIOCGRSIG = 0x40044272
|
BIOCGRSIG = 0x40044272
|
||||||
BIOCGRTIMEOUT = 0x4010426e
|
BIOCGRTIMEOUT = 0x4010426e
|
||||||
|
@ -88,6 +92,7 @@ const (
|
||||||
BIOCSETF = 0x80104267
|
BIOCSETF = 0x80104267
|
||||||
BIOCSETIF = 0x8020426c
|
BIOCSETIF = 0x8020426c
|
||||||
BIOCSETWF = 0x8010427b
|
BIOCSETWF = 0x8010427b
|
||||||
|
BIOCSFEEDBACK = 0x8004427d
|
||||||
BIOCSHDRCMPLT = 0x80044275
|
BIOCSHDRCMPLT = 0x80044275
|
||||||
BIOCSRSIG = 0x80044273
|
BIOCSRSIG = 0x80044273
|
||||||
BIOCSRTIMEOUT = 0x8010426d
|
BIOCSRTIMEOUT = 0x8010426d
|
||||||
|
@ -125,6 +130,7 @@ const (
|
||||||
BPF_MINBUFSIZE = 0x20
|
BPF_MINBUFSIZE = 0x20
|
||||||
BPF_MINOR_VERSION = 0x1
|
BPF_MINOR_VERSION = 0x1
|
||||||
BPF_MISC = 0x7
|
BPF_MISC = 0x7
|
||||||
|
BPF_MOD = 0x90
|
||||||
BPF_MSH = 0xa0
|
BPF_MSH = 0xa0
|
||||||
BPF_MUL = 0x20
|
BPF_MUL = 0x20
|
||||||
BPF_NEG = 0x80
|
BPF_NEG = 0x80
|
||||||
|
@ -139,6 +145,7 @@ const (
|
||||||
BPF_TXA = 0x80
|
BPF_TXA = 0x80
|
||||||
BPF_W = 0x0
|
BPF_W = 0x0
|
||||||
BPF_X = 0x8
|
BPF_X = 0x8
|
||||||
|
BPF_XOR = 0xa0
|
||||||
BRKINT = 0x2
|
BRKINT = 0x2
|
||||||
CFLUSH = 0xf
|
CFLUSH = 0xf
|
||||||
CLOCAL = 0x8000
|
CLOCAL = 0x8000
|
||||||
|
@ -156,6 +163,12 @@ const (
|
||||||
CLOCK_UPTIME_FAST = 0x8
|
CLOCK_UPTIME_FAST = 0x8
|
||||||
CLOCK_UPTIME_PRECISE = 0x7
|
CLOCK_UPTIME_PRECISE = 0x7
|
||||||
CLOCK_VIRTUAL = 0x1
|
CLOCK_VIRTUAL = 0x1
|
||||||
|
CPUSTATES = 0x5
|
||||||
|
CP_IDLE = 0x4
|
||||||
|
CP_INTR = 0x3
|
||||||
|
CP_NICE = 0x1
|
||||||
|
CP_SYS = 0x2
|
||||||
|
CP_USER = 0x0
|
||||||
CREAD = 0x800
|
CREAD = 0x800
|
||||||
CRTSCTS = 0x30000
|
CRTSCTS = 0x30000
|
||||||
CS5 = 0x0
|
CS5 = 0x0
|
||||||
|
@ -175,6 +188,7 @@ const (
|
||||||
DLT_A429 = 0xb8
|
DLT_A429 = 0xb8
|
||||||
DLT_A653_ICM = 0xb9
|
DLT_A653_ICM = 0xb9
|
||||||
DLT_AIRONET_HEADER = 0x78
|
DLT_AIRONET_HEADER = 0x78
|
||||||
|
DLT_AOS = 0xde
|
||||||
DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
|
DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
|
||||||
DLT_ARCNET = 0x7
|
DLT_ARCNET = 0x7
|
||||||
DLT_ARCNET_LINUX = 0x81
|
DLT_ARCNET_LINUX = 0x81
|
||||||
|
@ -184,22 +198,33 @@ const (
|
||||||
DLT_AX25 = 0x3
|
DLT_AX25 = 0x3
|
||||||
DLT_AX25_KISS = 0xca
|
DLT_AX25_KISS = 0xca
|
||||||
DLT_BACNET_MS_TP = 0xa5
|
DLT_BACNET_MS_TP = 0xa5
|
||||||
|
DLT_BLUETOOTH_BREDR_BB = 0xff
|
||||||
DLT_BLUETOOTH_HCI_H4 = 0xbb
|
DLT_BLUETOOTH_HCI_H4 = 0xbb
|
||||||
DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
|
DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
|
||||||
|
DLT_BLUETOOTH_LE_LL = 0xfb
|
||||||
|
DLT_BLUETOOTH_LE_LL_WITH_PHDR = 0x100
|
||||||
|
DLT_BLUETOOTH_LINUX_MONITOR = 0xfe
|
||||||
DLT_CAN20B = 0xbe
|
DLT_CAN20B = 0xbe
|
||||||
|
DLT_CAN_SOCKETCAN = 0xe3
|
||||||
DLT_CHAOS = 0x5
|
DLT_CHAOS = 0x5
|
||||||
DLT_CHDLC = 0x68
|
DLT_CHDLC = 0x68
|
||||||
DLT_CISCO_IOS = 0x76
|
DLT_CISCO_IOS = 0x76
|
||||||
DLT_C_HDLC = 0x68
|
DLT_C_HDLC = 0x68
|
||||||
DLT_C_HDLC_WITH_DIR = 0xcd
|
DLT_C_HDLC_WITH_DIR = 0xcd
|
||||||
|
DLT_DBUS = 0xe7
|
||||||
|
DLT_DECT = 0xdd
|
||||||
DLT_DOCSIS = 0x8f
|
DLT_DOCSIS = 0x8f
|
||||||
|
DLT_DVB_CI = 0xeb
|
||||||
DLT_ECONET = 0x73
|
DLT_ECONET = 0x73
|
||||||
DLT_EN10MB = 0x1
|
DLT_EN10MB = 0x1
|
||||||
DLT_EN3MB = 0x2
|
DLT_EN3MB = 0x2
|
||||||
DLT_ENC = 0x6d
|
DLT_ENC = 0x6d
|
||||||
|
DLT_EPON = 0x103
|
||||||
DLT_ERF = 0xc5
|
DLT_ERF = 0xc5
|
||||||
DLT_ERF_ETH = 0xaf
|
DLT_ERF_ETH = 0xaf
|
||||||
DLT_ERF_POS = 0xb0
|
DLT_ERF_POS = 0xb0
|
||||||
|
DLT_FC_2 = 0xe0
|
||||||
|
DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
|
||||||
DLT_FDDI = 0xa
|
DLT_FDDI = 0xa
|
||||||
DLT_FLEXRAY = 0xd2
|
DLT_FLEXRAY = 0xd2
|
||||||
DLT_FRELAY = 0x6b
|
DLT_FRELAY = 0x6b
|
||||||
|
@ -209,6 +234,8 @@ const (
|
||||||
DLT_GPF_F = 0xab
|
DLT_GPF_F = 0xab
|
||||||
DLT_GPF_T = 0xaa
|
DLT_GPF_T = 0xaa
|
||||||
DLT_GPRS_LLC = 0xa9
|
DLT_GPRS_LLC = 0xa9
|
||||||
|
DLT_GSMTAP_ABIS = 0xda
|
||||||
|
DLT_GSMTAP_UM = 0xd9
|
||||||
DLT_HHDLC = 0x79
|
DLT_HHDLC = 0x79
|
||||||
DLT_IBM_SN = 0x92
|
DLT_IBM_SN = 0x92
|
||||||
DLT_IBM_SP = 0x91
|
DLT_IBM_SP = 0x91
|
||||||
|
@ -218,18 +245,28 @@ const (
|
||||||
DLT_IEEE802_11_RADIO_AVS = 0xa3
|
DLT_IEEE802_11_RADIO_AVS = 0xa3
|
||||||
DLT_IEEE802_15_4 = 0xc3
|
DLT_IEEE802_15_4 = 0xc3
|
||||||
DLT_IEEE802_15_4_LINUX = 0xbf
|
DLT_IEEE802_15_4_LINUX = 0xbf
|
||||||
|
DLT_IEEE802_15_4_NOFCS = 0xe6
|
||||||
DLT_IEEE802_15_4_NONASK_PHY = 0xd7
|
DLT_IEEE802_15_4_NONASK_PHY = 0xd7
|
||||||
DLT_IEEE802_16_MAC_CPS = 0xbc
|
DLT_IEEE802_16_MAC_CPS = 0xbc
|
||||||
DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
||||||
|
DLT_INFINIBAND = 0xf7
|
||||||
DLT_IPFILTER = 0x74
|
DLT_IPFILTER = 0x74
|
||||||
DLT_IPMB = 0xc7
|
DLT_IPMB = 0xc7
|
||||||
DLT_IPMB_LINUX = 0xd1
|
DLT_IPMB_LINUX = 0xd1
|
||||||
|
DLT_IPMI_HPM_2 = 0x104
|
||||||
|
DLT_IPNET = 0xe2
|
||||||
|
DLT_IPOIB = 0xf2
|
||||||
|
DLT_IPV4 = 0xe4
|
||||||
|
DLT_IPV6 = 0xe5
|
||||||
DLT_IP_OVER_FC = 0x7a
|
DLT_IP_OVER_FC = 0x7a
|
||||||
|
DLT_ISO_14443 = 0x108
|
||||||
DLT_JUNIPER_ATM1 = 0x89
|
DLT_JUNIPER_ATM1 = 0x89
|
||||||
DLT_JUNIPER_ATM2 = 0x87
|
DLT_JUNIPER_ATM2 = 0x87
|
||||||
|
DLT_JUNIPER_ATM_CEMIC = 0xee
|
||||||
DLT_JUNIPER_CHDLC = 0xb5
|
DLT_JUNIPER_CHDLC = 0xb5
|
||||||
DLT_JUNIPER_ES = 0x84
|
DLT_JUNIPER_ES = 0x84
|
||||||
DLT_JUNIPER_ETHER = 0xb2
|
DLT_JUNIPER_ETHER = 0xb2
|
||||||
|
DLT_JUNIPER_FIBRECHANNEL = 0xea
|
||||||
DLT_JUNIPER_FRELAY = 0xb4
|
DLT_JUNIPER_FRELAY = 0xb4
|
||||||
DLT_JUNIPER_GGSN = 0x85
|
DLT_JUNIPER_GGSN = 0x85
|
||||||
DLT_JUNIPER_ISM = 0xc2
|
DLT_JUNIPER_ISM = 0xc2
|
||||||
|
@ -242,25 +279,40 @@ const (
|
||||||
DLT_JUNIPER_PPPOE = 0xa7
|
DLT_JUNIPER_PPPOE = 0xa7
|
||||||
DLT_JUNIPER_PPPOE_ATM = 0xa8
|
DLT_JUNIPER_PPPOE_ATM = 0xa8
|
||||||
DLT_JUNIPER_SERVICES = 0x88
|
DLT_JUNIPER_SERVICES = 0x88
|
||||||
|
DLT_JUNIPER_SRX_E2E = 0xe9
|
||||||
DLT_JUNIPER_ST = 0xc8
|
DLT_JUNIPER_ST = 0xc8
|
||||||
DLT_JUNIPER_VP = 0xb7
|
DLT_JUNIPER_VP = 0xb7
|
||||||
|
DLT_JUNIPER_VS = 0xe8
|
||||||
DLT_LAPB_WITH_DIR = 0xcf
|
DLT_LAPB_WITH_DIR = 0xcf
|
||||||
DLT_LAPD = 0xcb
|
DLT_LAPD = 0xcb
|
||||||
DLT_LIN = 0xd4
|
DLT_LIN = 0xd4
|
||||||
|
DLT_LINUX_EVDEV = 0xd8
|
||||||
DLT_LINUX_IRDA = 0x90
|
DLT_LINUX_IRDA = 0x90
|
||||||
DLT_LINUX_LAPD = 0xb1
|
DLT_LINUX_LAPD = 0xb1
|
||||||
DLT_LINUX_SLL = 0x71
|
DLT_LINUX_SLL = 0x71
|
||||||
DLT_LOOP = 0x6c
|
DLT_LOOP = 0x6c
|
||||||
DLT_LTALK = 0x72
|
DLT_LTALK = 0x72
|
||||||
|
DLT_MATCHING_MAX = 0x109
|
||||||
|
DLT_MATCHING_MIN = 0x68
|
||||||
DLT_MFR = 0xb6
|
DLT_MFR = 0xb6
|
||||||
DLT_MOST = 0xd3
|
DLT_MOST = 0xd3
|
||||||
|
DLT_MPEG_2_TS = 0xf3
|
||||||
|
DLT_MPLS = 0xdb
|
||||||
DLT_MTP2 = 0x8c
|
DLT_MTP2 = 0x8c
|
||||||
DLT_MTP2_WITH_PHDR = 0x8b
|
DLT_MTP2_WITH_PHDR = 0x8b
|
||||||
DLT_MTP3 = 0x8d
|
DLT_MTP3 = 0x8d
|
||||||
|
DLT_MUX27010 = 0xec
|
||||||
|
DLT_NETANALYZER = 0xf0
|
||||||
|
DLT_NETANALYZER_TRANSPARENT = 0xf1
|
||||||
|
DLT_NETLINK = 0xfd
|
||||||
|
DLT_NFC_LLCP = 0xf5
|
||||||
|
DLT_NFLOG = 0xef
|
||||||
|
DLT_NG40 = 0xf4
|
||||||
DLT_NULL = 0x0
|
DLT_NULL = 0x0
|
||||||
DLT_PCI_EXP = 0x7d
|
DLT_PCI_EXP = 0x7d
|
||||||
DLT_PFLOG = 0x75
|
DLT_PFLOG = 0x75
|
||||||
DLT_PFSYNC = 0x12
|
DLT_PFSYNC = 0x12
|
||||||
|
DLT_PKTAP = 0x102
|
||||||
DLT_PPI = 0xc0
|
DLT_PPI = 0xc0
|
||||||
DLT_PPP = 0x9
|
DLT_PPP = 0x9
|
||||||
DLT_PPP_BSDOS = 0x10
|
DLT_PPP_BSDOS = 0x10
|
||||||
|
@ -269,22 +321,51 @@ const (
|
||||||
DLT_PPP_SERIAL = 0x32
|
DLT_PPP_SERIAL = 0x32
|
||||||
DLT_PPP_WITH_DIR = 0xcc
|
DLT_PPP_WITH_DIR = 0xcc
|
||||||
DLT_PRISM_HEADER = 0x77
|
DLT_PRISM_HEADER = 0x77
|
||||||
|
DLT_PROFIBUS_DL = 0x101
|
||||||
DLT_PRONET = 0x4
|
DLT_PRONET = 0x4
|
||||||
DLT_RAIF1 = 0xc6
|
DLT_RAIF1 = 0xc6
|
||||||
DLT_RAW = 0xc
|
DLT_RAW = 0xc
|
||||||
|
DLT_RDS = 0x109
|
||||||
DLT_REDBACK_SMARTEDGE = 0x20
|
DLT_REDBACK_SMARTEDGE = 0x20
|
||||||
DLT_RIO = 0x7c
|
DLT_RIO = 0x7c
|
||||||
|
DLT_RTAC_SERIAL = 0xfa
|
||||||
DLT_SCCP = 0x8e
|
DLT_SCCP = 0x8e
|
||||||
|
DLT_SCTP = 0xf8
|
||||||
DLT_SITA = 0xc4
|
DLT_SITA = 0xc4
|
||||||
DLT_SLIP = 0x8
|
DLT_SLIP = 0x8
|
||||||
DLT_SLIP_BSDOS = 0xf
|
DLT_SLIP_BSDOS = 0xf
|
||||||
|
DLT_STANAG_5066_D_PDU = 0xed
|
||||||
DLT_SUNATM = 0x7b
|
DLT_SUNATM = 0x7b
|
||||||
DLT_SYMANTEC_FIREWALL = 0x63
|
DLT_SYMANTEC_FIREWALL = 0x63
|
||||||
DLT_TZSP = 0x80
|
DLT_TZSP = 0x80
|
||||||
DLT_USB = 0xba
|
DLT_USB = 0xba
|
||||||
|
DLT_USBPCAP = 0xf9
|
||||||
|
DLT_USB_FREEBSD = 0xba
|
||||||
DLT_USB_LINUX = 0xbd
|
DLT_USB_LINUX = 0xbd
|
||||||
|
DLT_USB_LINUX_MMAPPED = 0xdc
|
||||||
|
DLT_USER0 = 0x93
|
||||||
|
DLT_USER1 = 0x94
|
||||||
|
DLT_USER10 = 0x9d
|
||||||
|
DLT_USER11 = 0x9e
|
||||||
|
DLT_USER12 = 0x9f
|
||||||
|
DLT_USER13 = 0xa0
|
||||||
|
DLT_USER14 = 0xa1
|
||||||
|
DLT_USER15 = 0xa2
|
||||||
|
DLT_USER2 = 0x95
|
||||||
|
DLT_USER3 = 0x96
|
||||||
|
DLT_USER4 = 0x97
|
||||||
|
DLT_USER5 = 0x98
|
||||||
|
DLT_USER6 = 0x99
|
||||||
|
DLT_USER7 = 0x9a
|
||||||
|
DLT_USER8 = 0x9b
|
||||||
|
DLT_USER9 = 0x9c
|
||||||
|
DLT_WATTSTOPPER_DLM = 0x107
|
||||||
|
DLT_WIHART = 0xdf
|
||||||
|
DLT_WIRESHARK_UPPER_PDU = 0xfc
|
||||||
DLT_X2E_SERIAL = 0xd5
|
DLT_X2E_SERIAL = 0xd5
|
||||||
DLT_X2E_XORAYA = 0xd6
|
DLT_X2E_XORAYA = 0xd6
|
||||||
|
DLT_ZWAVE_R1_R2 = 0x105
|
||||||
|
DLT_ZWAVE_R3 = 0x106
|
||||||
DT_BLK = 0x6
|
DT_BLK = 0x6
|
||||||
DT_CHR = 0x2
|
DT_CHR = 0x2
|
||||||
DT_DBF = 0xf
|
DT_DBF = 0xf
|
||||||
|
@ -323,10 +404,11 @@ const (
|
||||||
EV_EOF = 0x8000
|
EV_EOF = 0x8000
|
||||||
EV_ERROR = 0x4000
|
EV_ERROR = 0x4000
|
||||||
EV_FLAG1 = 0x2000
|
EV_FLAG1 = 0x2000
|
||||||
|
EV_HUP = 0x800
|
||||||
EV_NODATA = 0x1000
|
EV_NODATA = 0x1000
|
||||||
EV_ONESHOT = 0x10
|
EV_ONESHOT = 0x10
|
||||||
EV_RECEIPT = 0x40
|
EV_RECEIPT = 0x40
|
||||||
EV_SYSFLAGS = 0xf000
|
EV_SYSFLAGS = 0xf800
|
||||||
EXTA = 0x4b00
|
EXTA = 0x4b00
|
||||||
EXTB = 0x9600
|
EXTB = 0x9600
|
||||||
EXTEXIT_LWP = 0x10000
|
EXTEXIT_LWP = 0x10000
|
||||||
|
@ -365,8 +447,9 @@ const (
|
||||||
IFF_ALLMULTI = 0x200
|
IFF_ALLMULTI = 0x200
|
||||||
IFF_ALTPHYS = 0x4000
|
IFF_ALTPHYS = 0x4000
|
||||||
IFF_BROADCAST = 0x2
|
IFF_BROADCAST = 0x2
|
||||||
IFF_CANTCHANGE = 0x118e72
|
IFF_CANTCHANGE = 0x318e72
|
||||||
IFF_DEBUG = 0x4
|
IFF_DEBUG = 0x4
|
||||||
|
IFF_IDIRECT = 0x200000
|
||||||
IFF_LINK0 = 0x1000
|
IFF_LINK0 = 0x1000
|
||||||
IFF_LINK1 = 0x2000
|
IFF_LINK1 = 0x2000
|
||||||
IFF_LINK2 = 0x4000
|
IFF_LINK2 = 0x4000
|
||||||
|
@ -441,7 +524,6 @@ const (
|
||||||
IFT_EPLRS = 0x57
|
IFT_EPLRS = 0x57
|
||||||
IFT_ESCON = 0x49
|
IFT_ESCON = 0x49
|
||||||
IFT_ETHER = 0x6
|
IFT_ETHER = 0x6
|
||||||
IFT_FAITH = 0xf2
|
|
||||||
IFT_FAST = 0x7d
|
IFT_FAST = 0x7d
|
||||||
IFT_FASTETHER = 0x3e
|
IFT_FASTETHER = 0x3e
|
||||||
IFT_FASTETHERFX = 0x45
|
IFT_FASTETHERFX = 0x45
|
||||||
|
@ -614,6 +696,7 @@ const (
|
||||||
IN_CLASSD_NET = 0xf0000000
|
IN_CLASSD_NET = 0xf0000000
|
||||||
IN_CLASSD_NSHIFT = 0x1c
|
IN_CLASSD_NSHIFT = 0x1c
|
||||||
IN_LOOPBACKNET = 0x7f
|
IN_LOOPBACKNET = 0x7f
|
||||||
|
IN_RFC3021_MASK = 0xfffffffe
|
||||||
IPPROTO_3PC = 0x22
|
IPPROTO_3PC = 0x22
|
||||||
IPPROTO_ADFS = 0x44
|
IPPROTO_ADFS = 0x44
|
||||||
IPPROTO_AH = 0x33
|
IPPROTO_AH = 0x33
|
||||||
|
@ -735,7 +818,6 @@ const (
|
||||||
IPV6_DEFHLIM = 0x40
|
IPV6_DEFHLIM = 0x40
|
||||||
IPV6_DONTFRAG = 0x3e
|
IPV6_DONTFRAG = 0x3e
|
||||||
IPV6_DSTOPTS = 0x32
|
IPV6_DSTOPTS = 0x32
|
||||||
IPV6_FAITH = 0x1d
|
|
||||||
IPV6_FLOWINFO_MASK = 0xffffff0f
|
IPV6_FLOWINFO_MASK = 0xffffff0f
|
||||||
IPV6_FLOWLABEL_MASK = 0xffff0f00
|
IPV6_FLOWLABEL_MASK = 0xffff0f00
|
||||||
IPV6_FRAGTTL = 0x78
|
IPV6_FRAGTTL = 0x78
|
||||||
|
@ -747,7 +829,6 @@ const (
|
||||||
IPV6_HLIMDEC = 0x1
|
IPV6_HLIMDEC = 0x1
|
||||||
IPV6_HOPLIMIT = 0x2f
|
IPV6_HOPLIMIT = 0x2f
|
||||||
IPV6_HOPOPTS = 0x31
|
IPV6_HOPOPTS = 0x31
|
||||||
IPV6_IPSEC_POLICY = 0x1c
|
|
||||||
IPV6_JOIN_GROUP = 0xc
|
IPV6_JOIN_GROUP = 0xc
|
||||||
IPV6_LEAVE_GROUP = 0xd
|
IPV6_LEAVE_GROUP = 0xd
|
||||||
IPV6_MAXHLIM = 0xff
|
IPV6_MAXHLIM = 0xff
|
||||||
|
@ -795,16 +876,22 @@ const (
|
||||||
IP_DUMMYNET_DEL = 0x3d
|
IP_DUMMYNET_DEL = 0x3d
|
||||||
IP_DUMMYNET_FLUSH = 0x3e
|
IP_DUMMYNET_FLUSH = 0x3e
|
||||||
IP_DUMMYNET_GET = 0x40
|
IP_DUMMYNET_GET = 0x40
|
||||||
IP_FAITH = 0x16
|
|
||||||
IP_FW_ADD = 0x32
|
IP_FW_ADD = 0x32
|
||||||
IP_FW_DEL = 0x33
|
IP_FW_DEL = 0x33
|
||||||
IP_FW_FLUSH = 0x34
|
IP_FW_FLUSH = 0x34
|
||||||
IP_FW_GET = 0x36
|
IP_FW_GET = 0x36
|
||||||
IP_FW_RESETLOG = 0x37
|
IP_FW_RESETLOG = 0x37
|
||||||
|
IP_FW_TBL_ADD = 0x2a
|
||||||
|
IP_FW_TBL_CREATE = 0x28
|
||||||
|
IP_FW_TBL_DEL = 0x2b
|
||||||
|
IP_FW_TBL_DESTROY = 0x29
|
||||||
|
IP_FW_TBL_EXPIRE = 0x2f
|
||||||
|
IP_FW_TBL_FLUSH = 0x2c
|
||||||
|
IP_FW_TBL_GET = 0x2d
|
||||||
|
IP_FW_TBL_ZERO = 0x2e
|
||||||
IP_FW_X = 0x31
|
IP_FW_X = 0x31
|
||||||
IP_FW_ZERO = 0x35
|
IP_FW_ZERO = 0x35
|
||||||
IP_HDRINCL = 0x2
|
IP_HDRINCL = 0x2
|
||||||
IP_IPSEC_POLICY = 0x15
|
|
||||||
IP_MAXPACKET = 0xffff
|
IP_MAXPACKET = 0xffff
|
||||||
IP_MAX_MEMBERSHIPS = 0x14
|
IP_MAX_MEMBERSHIPS = 0x14
|
||||||
IP_MF = 0x2000
|
IP_MF = 0x2000
|
||||||
|
@ -1080,12 +1167,10 @@ const (
|
||||||
RTM_MISS = 0x7
|
RTM_MISS = 0x7
|
||||||
RTM_NEWADDR = 0xc
|
RTM_NEWADDR = 0xc
|
||||||
RTM_NEWMADDR = 0xf
|
RTM_NEWMADDR = 0xf
|
||||||
RTM_OLDADD = 0x9
|
|
||||||
RTM_OLDDEL = 0xa
|
|
||||||
RTM_REDIRECT = 0x6
|
RTM_REDIRECT = 0x6
|
||||||
RTM_RESOLVE = 0xb
|
RTM_RESOLVE = 0xb
|
||||||
RTM_RTTUNIT = 0xf4240
|
RTM_RTTUNIT = 0xf4240
|
||||||
RTM_VERSION = 0x6
|
RTM_VERSION = 0x7
|
||||||
RTV_EXPIRE = 0x4
|
RTV_EXPIRE = 0x4
|
||||||
RTV_HOPCOUNT = 0x2
|
RTV_HOPCOUNT = 0x2
|
||||||
RTV_IWCAPSEGS = 0x400
|
RTV_IWCAPSEGS = 0x400
|
||||||
|
@ -1106,13 +1191,13 @@ const (
|
||||||
SHUT_RDWR = 0x2
|
SHUT_RDWR = 0x2
|
||||||
SHUT_WR = 0x1
|
SHUT_WR = 0x1
|
||||||
SIOCADDMULTI = 0x80206931
|
SIOCADDMULTI = 0x80206931
|
||||||
SIOCADDRT = 0x8040720a
|
|
||||||
SIOCAIFADDR = 0x8040691a
|
SIOCAIFADDR = 0x8040691a
|
||||||
|
SIOCAIFGROUP = 0x80286987
|
||||||
SIOCALIFADDR = 0x8118691b
|
SIOCALIFADDR = 0x8118691b
|
||||||
SIOCATMARK = 0x40047307
|
SIOCATMARK = 0x40047307
|
||||||
SIOCDELMULTI = 0x80206932
|
SIOCDELMULTI = 0x80206932
|
||||||
SIOCDELRT = 0x8040720b
|
|
||||||
SIOCDIFADDR = 0x80206919
|
SIOCDIFADDR = 0x80206919
|
||||||
|
SIOCDIFGROUP = 0x80286989
|
||||||
SIOCDIFPHYADDR = 0x80206949
|
SIOCDIFPHYADDR = 0x80206949
|
||||||
SIOCDLIFADDR = 0x8118691d
|
SIOCDLIFADDR = 0x8118691d
|
||||||
SIOCGDRVSPEC = 0xc028697b
|
SIOCGDRVSPEC = 0xc028697b
|
||||||
|
@ -1120,6 +1205,7 @@ const (
|
||||||
SIOCGETVIFCNT = 0xc028720f
|
SIOCGETVIFCNT = 0xc028720f
|
||||||
SIOCGHIWAT = 0x40047301
|
SIOCGHIWAT = 0x40047301
|
||||||
SIOCGIFADDR = 0xc0206921
|
SIOCGIFADDR = 0xc0206921
|
||||||
|
SIOCGIFALIAS = 0xc0406929
|
||||||
SIOCGIFBRDADDR = 0xc0206923
|
SIOCGIFBRDADDR = 0xc0206923
|
||||||
SIOCGIFCAP = 0xc020691f
|
SIOCGIFCAP = 0xc020691f
|
||||||
SIOCGIFCONF = 0xc0106924
|
SIOCGIFCONF = 0xc0106924
|
||||||
|
@ -1128,6 +1214,7 @@ const (
|
||||||
SIOCGIFFLAGS = 0xc0206911
|
SIOCGIFFLAGS = 0xc0206911
|
||||||
SIOCGIFGENERIC = 0xc020693a
|
SIOCGIFGENERIC = 0xc020693a
|
||||||
SIOCGIFGMEMB = 0xc028698a
|
SIOCGIFGMEMB = 0xc028698a
|
||||||
|
SIOCGIFGROUP = 0xc0286988
|
||||||
SIOCGIFINDEX = 0xc0206920
|
SIOCGIFINDEX = 0xc0206920
|
||||||
SIOCGIFMEDIA = 0xc0306938
|
SIOCGIFMEDIA = 0xc0306938
|
||||||
SIOCGIFMETRIC = 0xc0206917
|
SIOCGIFMETRIC = 0xc0206917
|
||||||
|
@ -1194,6 +1281,7 @@ const (
|
||||||
SO_RCVBUF = 0x1002
|
SO_RCVBUF = 0x1002
|
||||||
SO_RCVLOWAT = 0x1004
|
SO_RCVLOWAT = 0x1004
|
||||||
SO_RCVTIMEO = 0x1006
|
SO_RCVTIMEO = 0x1006
|
||||||
|
SO_RERROR = 0x2000
|
||||||
SO_REUSEADDR = 0x4
|
SO_REUSEADDR = 0x4
|
||||||
SO_REUSEPORT = 0x200
|
SO_REUSEPORT = 0x200
|
||||||
SO_SNDBUF = 0x1001
|
SO_SNDBUF = 0x1001
|
||||||
|
@ -1233,6 +1321,9 @@ const (
|
||||||
S_IXGRP = 0x8
|
S_IXGRP = 0x8
|
||||||
S_IXOTH = 0x1
|
S_IXOTH = 0x1
|
||||||
S_IXUSR = 0x40
|
S_IXUSR = 0x40
|
||||||
|
TAB0 = 0x0
|
||||||
|
TAB3 = 0x4
|
||||||
|
TABDLY = 0x4
|
||||||
TCIFLUSH = 0x1
|
TCIFLUSH = 0x1
|
||||||
TCIOFF = 0x3
|
TCIOFF = 0x3
|
||||||
TCIOFLUSH = 0x3
|
TCIOFLUSH = 0x3
|
||||||
|
@ -1259,6 +1350,8 @@ const (
|
||||||
TCP_NOPUSH = 0x4
|
TCP_NOPUSH = 0x4
|
||||||
TCP_SIGNATURE_ENABLE = 0x10
|
TCP_SIGNATURE_ENABLE = 0x10
|
||||||
TCSAFLUSH = 0x2
|
TCSAFLUSH = 0x2
|
||||||
|
TIMER_ABSTIME = 0x1
|
||||||
|
TIMER_RELTIME = 0x0
|
||||||
TIOCCBRK = 0x2000747a
|
TIOCCBRK = 0x2000747a
|
||||||
TIOCCDTR = 0x20007478
|
TIOCCDTR = 0x20007478
|
||||||
TIOCCONS = 0x80047462
|
TIOCCONS = 0x80047462
|
||||||
|
@ -1272,7 +1365,6 @@ const (
|
||||||
TIOCGETD = 0x4004741a
|
TIOCGETD = 0x4004741a
|
||||||
TIOCGPGRP = 0x40047477
|
TIOCGPGRP = 0x40047477
|
||||||
TIOCGSID = 0x40047463
|
TIOCGSID = 0x40047463
|
||||||
TIOCGSIZE = 0x40087468
|
|
||||||
TIOCGWINSZ = 0x40087468
|
TIOCGWINSZ = 0x40087468
|
||||||
TIOCISPTMASTER = 0x20007455
|
TIOCISPTMASTER = 0x20007455
|
||||||
TIOCMBIC = 0x8004746b
|
TIOCMBIC = 0x8004746b
|
||||||
|
@ -1317,7 +1409,6 @@ const (
|
||||||
TIOCSETD = 0x8004741b
|
TIOCSETD = 0x8004741b
|
||||||
TIOCSIG = 0x2000745f
|
TIOCSIG = 0x2000745f
|
||||||
TIOCSPGRP = 0x80047476
|
TIOCSPGRP = 0x80047476
|
||||||
TIOCSSIZE = 0x80087467
|
|
||||||
TIOCSTART = 0x2000746e
|
TIOCSTART = 0x2000746e
|
||||||
TIOCSTAT = 0x20007465
|
TIOCSTAT = 0x20007465
|
||||||
TIOCSTI = 0x80017472
|
TIOCSTI = 0x80017472
|
||||||
|
@ -1326,6 +1417,8 @@ const (
|
||||||
TIOCTIMESTAMP = 0x40107459
|
TIOCTIMESTAMP = 0x40107459
|
||||||
TIOCUCNTL = 0x80047466
|
TIOCUCNTL = 0x80047466
|
||||||
TOSTOP = 0x400000
|
TOSTOP = 0x400000
|
||||||
|
UTIME_NOW = -0x1
|
||||||
|
UTIME_OMIT = -0x2
|
||||||
VCHECKPT = 0x13
|
VCHECKPT = 0x13
|
||||||
VDISCARD = 0xf
|
VDISCARD = 0xf
|
||||||
VDSUSP = 0xb
|
VDSUSP = 0xb
|
||||||
|
@ -1350,9 +1443,12 @@ const (
|
||||||
VWERASE = 0x4
|
VWERASE = 0x4
|
||||||
WCONTINUED = 0x4
|
WCONTINUED = 0x4
|
||||||
WCOREFLAG = 0x80
|
WCOREFLAG = 0x80
|
||||||
|
WEXITED = 0x10
|
||||||
WLINUXCLONE = 0x80000000
|
WLINUXCLONE = 0x80000000
|
||||||
WNOHANG = 0x1
|
WNOHANG = 0x1
|
||||||
WSTOPPED = 0x7f
|
WNOWAIT = 0x8
|
||||||
|
WSTOPPED = 0x2
|
||||||
|
WTRAPPED = 0x20
|
||||||
WUNTRACED = 0x2
|
WUNTRACED = 0x2
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1452,11 +1548,6 @@ const (
|
||||||
ETIMEDOUT = syscall.Errno(0x3c)
|
ETIMEDOUT = syscall.Errno(0x3c)
|
||||||
ETOOMANYREFS = syscall.Errno(0x3b)
|
ETOOMANYREFS = syscall.Errno(0x3b)
|
||||||
ETXTBSY = syscall.Errno(0x1a)
|
ETXTBSY = syscall.Errno(0x1a)
|
||||||
EUNUSED94 = syscall.Errno(0x5e)
|
|
||||||
EUNUSED95 = syscall.Errno(0x5f)
|
|
||||||
EUNUSED96 = syscall.Errno(0x60)
|
|
||||||
EUNUSED97 = syscall.Errno(0x61)
|
|
||||||
EUNUSED98 = syscall.Errno(0x62)
|
|
||||||
EUSERS = syscall.Errno(0x44)
|
EUSERS = syscall.Errno(0x44)
|
||||||
EWOULDBLOCK = syscall.Errno(0x23)
|
EWOULDBLOCK = syscall.Errno(0x23)
|
||||||
EXDEV = syscall.Errno(0x12)
|
EXDEV = syscall.Errno(0x12)
|
||||||
|
@ -1600,12 +1691,7 @@ var errorList = [...]struct {
|
||||||
{91, "ENOLINK", "link has been severed"},
|
{91, "ENOLINK", "link has been severed"},
|
||||||
{92, "EPROTO", "protocol error"},
|
{92, "EPROTO", "protocol error"},
|
||||||
{93, "ENOMEDIUM", "no medium found"},
|
{93, "ENOMEDIUM", "no medium found"},
|
||||||
{94, "EUNUSED94", "unknown error: 94"},
|
{99, "EASYNC", "unknown error: 99"},
|
||||||
{95, "EUNUSED95", "unknown error: 95"},
|
|
||||||
{96, "EUNUSED96", "unknown error: 96"},
|
|
||||||
{97, "EUNUSED97", "unknown error: 97"},
|
|
||||||
{98, "EUNUSED98", "unknown error: 98"},
|
|
||||||
{99, "ELAST", "unknown error: 99"},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signal table
|
// Signal table
|
||||||
|
|
32
vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
generated
vendored
32
vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
||||||
var _p0 unsafe.Pointer
|
|
||||||
if len(mib) > 0 {
|
|
||||||
_p0 = unsafe.Pointer(&mib[0])
|
|
||||||
} else {
|
|
||||||
_p0 = unsafe.Pointer(&_zero)
|
|
||||||
}
|
|
||||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
||||||
|
|
||||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
@ -439,6 +423,22 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
|
var _p0 unsafe.Pointer
|
||||||
|
if len(mib) > 0 {
|
||||||
|
_p0 = unsafe.Pointer(&mib[0])
|
||||||
|
} else {
|
||||||
|
_p0 = unsafe.Pointer(&_zero)
|
||||||
|
}
|
||||||
|
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func Access(path string, mode uint32) (err error) {
|
func Access(path string, mode uint32) (err error) {
|
||||||
var _p0 *byte
|
var _p0 *byte
|
||||||
_p0, err = BytePtrFromString(path)
|
_p0, err = BytePtrFromString(path)
|
||||||
|
|
255
vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
generated
vendored
255
vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
generated
vendored
|
@ -6,129 +6,125 @@
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
|
SYS_EXIT = 1 // { void exit(int rval); }
|
||||||
SYS_EXIT = 1 // { void exit(int rval); }
|
SYS_FORK = 2 // { int fork(void); }
|
||||||
SYS_FORK = 2 // { int fork(void); }
|
SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
|
||||||
SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
|
SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
|
||||||
SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
|
SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
|
||||||
SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
|
SYS_CLOSE = 6 // { int close(int fd); }
|
||||||
SYS_CLOSE = 6 // { int close(int fd); }
|
SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } wait4 wait_args int
|
||||||
SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } wait4 wait_args int
|
// SYS_NOSYS = 8; // { int nosys(void); } __nosys nosys_args int
|
||||||
SYS_LINK = 9 // { int link(char *path, char *link); }
|
SYS_LINK = 9 // { int link(char *path, char *link); }
|
||||||
SYS_UNLINK = 10 // { int unlink(char *path); }
|
SYS_UNLINK = 10 // { int unlink(char *path); }
|
||||||
SYS_CHDIR = 12 // { int chdir(char *path); }
|
SYS_CHDIR = 12 // { int chdir(char *path); }
|
||||||
SYS_FCHDIR = 13 // { int fchdir(int fd); }
|
SYS_FCHDIR = 13 // { int fchdir(int fd); }
|
||||||
SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
|
SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
|
||||||
SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
|
SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
|
||||||
SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
|
SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
|
||||||
SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
|
SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
|
||||||
SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, int flags); }
|
SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, int flags); }
|
||||||
SYS_GETPID = 20 // { pid_t getpid(void); }
|
SYS_GETPID = 20 // { pid_t getpid(void); }
|
||||||
SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
|
SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
|
||||||
SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
|
SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
|
||||||
SYS_SETUID = 23 // { int setuid(uid_t uid); }
|
SYS_SETUID = 23 // { int setuid(uid_t uid); }
|
||||||
SYS_GETUID = 24 // { uid_t getuid(void); }
|
SYS_GETUID = 24 // { uid_t getuid(void); }
|
||||||
SYS_GETEUID = 25 // { uid_t geteuid(void); }
|
SYS_GETEUID = 25 // { uid_t geteuid(void); }
|
||||||
SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
|
SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
|
||||||
SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
|
SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
|
||||||
SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); }
|
SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); }
|
||||||
SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, caddr_t from, int *fromlenaddr); }
|
SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, caddr_t from, int *fromlenaddr); }
|
||||||
SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); }
|
SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); }
|
||||||
SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); }
|
SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); }
|
||||||
SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }
|
SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }
|
||||||
SYS_ACCESS = 33 // { int access(char *path, int flags); }
|
SYS_ACCESS = 33 // { int access(char *path, int flags); }
|
||||||
SYS_CHFLAGS = 34 // { int chflags(char *path, int flags); }
|
SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
|
||||||
SYS_FCHFLAGS = 35 // { int fchflags(int fd, int flags); }
|
SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
|
||||||
SYS_SYNC = 36 // { int sync(void); }
|
SYS_SYNC = 36 // { int sync(void); }
|
||||||
SYS_KILL = 37 // { int kill(int pid, int signum); }
|
SYS_KILL = 37 // { int kill(int pid, int signum); }
|
||||||
SYS_GETPPID = 39 // { pid_t getppid(void); }
|
SYS_GETPPID = 39 // { pid_t getppid(void); }
|
||||||
SYS_DUP = 41 // { int dup(int fd); }
|
SYS_DUP = 41 // { int dup(int fd); }
|
||||||
SYS_PIPE = 42 // { int pipe(void); }
|
SYS_PIPE = 42 // { int pipe(void); }
|
||||||
SYS_GETEGID = 43 // { gid_t getegid(void); }
|
SYS_GETEGID = 43 // { gid_t getegid(void); }
|
||||||
SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
|
SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, u_long offset, u_int scale); }
|
||||||
SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
|
SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
|
||||||
SYS_GETGID = 47 // { gid_t getgid(void); }
|
SYS_GETGID = 47 // { gid_t getgid(void); }
|
||||||
SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
|
SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, size_t namelen); }
|
||||||
SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
|
SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
|
||||||
SYS_ACCT = 51 // { int acct(char *path); }
|
SYS_ACCT = 51 // { int acct(char *path); }
|
||||||
SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
|
SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
|
||||||
SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
|
SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
|
||||||
SYS_REBOOT = 55 // { int reboot(int opt); }
|
SYS_REBOOT = 55 // { int reboot(int opt); }
|
||||||
SYS_REVOKE = 56 // { int revoke(char *path); }
|
SYS_REVOKE = 56 // { int revoke(char *path); }
|
||||||
SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
|
SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
|
||||||
SYS_READLINK = 58 // { int readlink(char *path, char *buf, int count); }
|
SYS_READLINK = 58 // { int readlink(char *path, char *buf, int count); }
|
||||||
SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
||||||
SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
|
SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
|
||||||
SYS_CHROOT = 61 // { int chroot(char *path); }
|
SYS_CHROOT = 61 // { int chroot(char *path); }
|
||||||
SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
|
SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
|
||||||
SYS_VFORK = 66 // { pid_t vfork(void); }
|
SYS_VFORK = 66 // { pid_t vfork(void); }
|
||||||
SYS_SBRK = 69 // { int sbrk(int incr); }
|
SYS_SBRK = 69 // { caddr_t sbrk(size_t incr); }
|
||||||
SYS_SSTK = 70 // { int sstk(int incr); }
|
SYS_SSTK = 70 // { int sstk(size_t incr); }
|
||||||
SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
|
SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
|
||||||
SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
|
SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
|
||||||
SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
|
SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
|
||||||
SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
|
SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
|
||||||
SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
||||||
SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
|
SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
|
||||||
SYS_GETPGRP = 81 // { int getpgrp(void); }
|
SYS_GETPGRP = 81 // { int getpgrp(void); }
|
||||||
SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
|
SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
|
||||||
SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
|
SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
|
||||||
SYS_SWAPON = 85 // { int swapon(char *name); }
|
SYS_SWAPON = 85 // { int swapon(char *name); }
|
||||||
SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
|
SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
|
||||||
SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
|
SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
|
||||||
SYS_DUP2 = 90 // { int dup2(int from, int to); }
|
SYS_DUP2 = 90 // { int dup2(int from, int to); }
|
||||||
SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
|
SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
|
||||||
SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
|
SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
|
||||||
SYS_FSYNC = 95 // { int fsync(int fd); }
|
SYS_FSYNC = 95 // { int fsync(int fd); }
|
||||||
SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
|
SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
|
||||||
SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
|
SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
|
||||||
SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
|
SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
|
||||||
SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
|
SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
|
||||||
SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
|
SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
|
||||||
SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
|
SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
|
||||||
SYS_LISTEN = 106 // { int listen(int s, int backlog); }
|
SYS_LISTEN = 106 // { int listen(int s, int backlog); }
|
||||||
SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
|
SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
|
||||||
SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
|
SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
|
||||||
SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
|
SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
|
||||||
SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
|
SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
|
||||||
SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
|
SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
|
||||||
SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
|
SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
|
||||||
SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
|
SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
|
||||||
SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
|
SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
|
||||||
SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
|
SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
|
||||||
SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
|
SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
|
||||||
SYS_RENAME = 128 // { int rename(char *from, char *to); }
|
SYS_RENAME = 128 // { int rename(char *from, char *to); }
|
||||||
SYS_FLOCK = 131 // { int flock(int fd, int how); }
|
SYS_FLOCK = 131 // { int flock(int fd, int how); }
|
||||||
SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
|
SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
|
||||||
SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
|
SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
|
||||||
SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
|
SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
|
||||||
SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
|
SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
|
||||||
SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
|
SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
|
||||||
SYS_RMDIR = 137 // { int rmdir(char *path); }
|
SYS_RMDIR = 137 // { int rmdir(char *path); }
|
||||||
SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
|
SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
|
||||||
SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
|
SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
|
||||||
SYS_SETSID = 147 // { int setsid(void); }
|
SYS_SETSID = 147 // { int setsid(void); }
|
||||||
SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
|
SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
|
||||||
SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); }
|
SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); }
|
||||||
SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); }
|
SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); }
|
||||||
SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
|
SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
|
||||||
SYS_GETDOMAINNAME = 162 // { int getdomainname(char *domainname, int len); }
|
SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
|
||||||
SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
|
SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
|
||||||
SYS_UNAME = 164 // { int uname(struct utsname *name); }
|
SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, size_t nbyte, int flags, off_t offset); }
|
||||||
SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
|
SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, size_t nbyte, int flags, off_t offset); }
|
||||||
SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
|
SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
|
||||||
SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, size_t nbyte, int flags, off_t offset); }
|
SYS_SETGID = 181 // { int setgid(gid_t gid); }
|
||||||
SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, size_t nbyte, int flags, off_t offset); }
|
SYS_SETEGID = 182 // { int setegid(gid_t egid); }
|
||||||
SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
|
SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
|
||||||
SYS_SETGID = 181 // { int setgid(gid_t gid); }
|
SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
|
||||||
SYS_SETEGID = 182 // { int setegid(gid_t egid); }
|
SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
|
||||||
SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
|
SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
|
||||||
SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
|
SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
|
||||||
SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
|
SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, int pad, off_t pos); }
|
||||||
SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
|
|
||||||
SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
|
|
||||||
SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, int pad, off_t pos); }
|
|
||||||
// SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int
|
|
||||||
SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, int whence); }
|
SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, int whence); }
|
||||||
SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); }
|
SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); }
|
||||||
SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); }
|
SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); }
|
||||||
|
@ -161,8 +157,8 @@ const (
|
||||||
SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
|
SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
|
||||||
SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
|
SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
|
||||||
SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
|
SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
|
||||||
SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, u_int iovcnt, int flags, off_t offset); }
|
SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, const struct iovec *iovp, int iovcnt, int flags, off_t offset); }
|
||||||
SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,u_int iovcnt, int flags, off_t offset); }
|
SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, const struct iovec *iovp, int iovcnt, int flags, off_t offset); }
|
||||||
SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
||||||
SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
|
SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
|
||||||
SYS_MODNEXT = 300 // { int modnext(int modid); }
|
SYS_MODNEXT = 300 // { int modnext(int modid); }
|
||||||
|
@ -225,7 +221,7 @@ const (
|
||||||
SYS_KQUEUE = 362 // { int kqueue(void); }
|
SYS_KQUEUE = 362 // { int kqueue(void); }
|
||||||
SYS_KEVENT = 363 // { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
SYS_KEVENT = 363 // { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
||||||
SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
|
SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
|
||||||
SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); }
|
SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); }
|
||||||
SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
|
SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
|
||||||
SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
||||||
SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); }
|
SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); }
|
||||||
|
@ -302,7 +298,7 @@ const (
|
||||||
SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
|
SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
|
||||||
SYS_VMM_GUEST_SYNC_ADDR = 535 // { int vmm_guest_sync_addr(long *dstaddr, long *srcaddr); }
|
SYS_VMM_GUEST_SYNC_ADDR = 535 // { int vmm_guest_sync_addr(long *dstaddr, long *srcaddr); }
|
||||||
SYS_PROCCTL = 536 // { int procctl(idtype_t idtype, id_t id, int cmd, void *data); }
|
SYS_PROCCTL = 536 // { int procctl(idtype_t idtype, id_t id, int cmd, void *data); }
|
||||||
SYS_CHFLAGSAT = 537 // { int chflagsat(int fd, const char *path, int flags, int atflags);}
|
SYS_CHFLAGSAT = 537 // { int chflagsat(int fd, const char *path, u_long flags, int atflags);}
|
||||||
SYS_PIPE2 = 538 // { int pipe2(int *fildes, int flags); }
|
SYS_PIPE2 = 538 // { int pipe2(int *fildes, int flags); }
|
||||||
SYS_UTIMENSAT = 539 // { int utimensat(int fd, const char *path, const struct timespec *ts, int flags); }
|
SYS_UTIMENSAT = 539 // { int utimensat(int fd, const char *path, const struct timespec *ts, int flags); }
|
||||||
SYS_FUTIMENS = 540 // { int futimens(int fd, const struct timespec *ts); }
|
SYS_FUTIMENS = 540 // { int futimens(int fd, const struct timespec *ts); }
|
||||||
|
@ -312,4 +308,9 @@ const (
|
||||||
SYS_LWP_SETAFFINITY = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); }
|
SYS_LWP_SETAFFINITY = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); }
|
||||||
SYS_LWP_GETAFFINITY = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); }
|
SYS_LWP_GETAFFINITY = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); }
|
||||||
SYS_LWP_CREATE2 = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); }
|
SYS_LWP_CREATE2 = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); }
|
||||||
|
SYS_GETCPUCLOCKID = 547 // { int getcpuclockid(pid_t pid, lwpid_t lwp_id, clockid_t *clock_id); }
|
||||||
|
SYS_WAIT6 = 548 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); }
|
||||||
|
SYS_LWP_GETNAME = 549 // { int lwp_getname(lwpid_t tid, char *name, size_t len); }
|
||||||
|
SYS_GETRANDOM = 550 // { ssize_t getrandom(void *buf, size_t len, unsigned flags); }
|
||||||
|
SYS___REALPATH = 551 // { ssize_t __realpath(const char *path, char *buf, size_t len); }
|
||||||
)
|
)
|
||||||
|
|
13
vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
generated
vendored
13
vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
generated
vendored
|
@ -92,9 +92,9 @@ type Statfs_t struct {
|
||||||
Type uint32
|
Type uint32
|
||||||
Flags uint32
|
Flags uint32
|
||||||
Fssubtype uint32
|
Fssubtype uint32
|
||||||
Fstypename [16]int8
|
Fstypename [16]byte
|
||||||
Mntonname [1024]int8
|
Mntonname [1024]byte
|
||||||
Mntfromname [1024]int8
|
Mntfromname [1024]byte
|
||||||
Reserved [8]uint32
|
Reserved [8]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -305,7 +305,6 @@ type IfMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Data IfData
|
Data IfData
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -348,7 +347,6 @@ type IfaMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Metric int32
|
Metric int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -369,7 +367,6 @@ type IfmaMsghdr2 struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Refcount int32
|
Refcount int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -378,7 +375,6 @@ type RtMsghdr struct {
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Flags int32
|
Flags int32
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Pid int32
|
Pid int32
|
||||||
|
@ -400,7 +396,8 @@ type RtMetrics struct {
|
||||||
Rtt uint32
|
Rtt uint32
|
||||||
Rttvar uint32
|
Rttvar uint32
|
||||||
Pksent uint32
|
Pksent uint32
|
||||||
Filler [4]uint32
|
State uint32
|
||||||
|
Filler [3]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
24
vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
generated
vendored
24
vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
generated
vendored
|
@ -70,7 +70,6 @@ type Stat_t struct {
|
||||||
Uid uint32
|
Uid uint32
|
||||||
Gid uint32
|
Gid uint32
|
||||||
Rdev int32
|
Rdev int32
|
||||||
_ [4]byte
|
|
||||||
Atim Timespec
|
Atim Timespec
|
||||||
Mtim Timespec
|
Mtim Timespec
|
||||||
Ctim Timespec
|
Ctim Timespec
|
||||||
|
@ -97,10 +96,11 @@ type Statfs_t struct {
|
||||||
Type uint32
|
Type uint32
|
||||||
Flags uint32
|
Flags uint32
|
||||||
Fssubtype uint32
|
Fssubtype uint32
|
||||||
Fstypename [16]int8
|
Fstypename [16]byte
|
||||||
Mntonname [1024]int8
|
Mntonname [1024]byte
|
||||||
Mntfromname [1024]int8
|
Mntfromname [1024]byte
|
||||||
Reserved [8]uint32
|
Flags_ext uint32
|
||||||
|
Reserved [7]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
type Flock_t struct {
|
type Flock_t struct {
|
||||||
|
@ -133,8 +133,7 @@ type Fbootstraptransfer_t struct {
|
||||||
|
|
||||||
type Log2phys_t struct {
|
type Log2phys_t struct {
|
||||||
Flags uint32
|
Flags uint32
|
||||||
_ [8]byte
|
_ [16]byte
|
||||||
_ [8]byte
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Fsid struct {
|
type Fsid struct {
|
||||||
|
@ -225,10 +224,8 @@ type IPv6Mreq struct {
|
||||||
type Msghdr struct {
|
type Msghdr struct {
|
||||||
Name *byte
|
Name *byte
|
||||||
Namelen uint32
|
Namelen uint32
|
||||||
_ [4]byte
|
|
||||||
Iov *Iovec
|
Iov *Iovec
|
||||||
Iovlen int32
|
Iovlen int32
|
||||||
_ [4]byte
|
|
||||||
Control *byte
|
Control *byte
|
||||||
Controllen uint32
|
Controllen uint32
|
||||||
Flags int32
|
Flags int32
|
||||||
|
@ -313,7 +310,6 @@ type IfMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Data IfData
|
Data IfData
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -356,7 +352,6 @@ type IfaMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Metric int32
|
Metric int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -377,7 +372,6 @@ type IfmaMsghdr2 struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Refcount int32
|
Refcount int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -386,7 +380,6 @@ type RtMsghdr struct {
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Flags int32
|
Flags int32
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Pid int32
|
Pid int32
|
||||||
|
@ -408,7 +401,8 @@ type RtMetrics struct {
|
||||||
Rtt uint32
|
Rtt uint32
|
||||||
Rttvar uint32
|
Rttvar uint32
|
||||||
Pksent uint32
|
Pksent uint32
|
||||||
Filler [4]uint32
|
State uint32
|
||||||
|
Filler [3]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -431,7 +425,6 @@ type BpfStat struct {
|
||||||
|
|
||||||
type BpfProgram struct {
|
type BpfProgram struct {
|
||||||
Len uint32
|
Len uint32
|
||||||
_ [4]byte
|
|
||||||
Insns *BpfInsn
|
Insns *BpfInsn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -456,7 +449,6 @@ type Termios struct {
|
||||||
Cflag uint64
|
Cflag uint64
|
||||||
Lflag uint64
|
Lflag uint64
|
||||||
Cc [20]uint8
|
Cc [20]uint8
|
||||||
_ [4]byte
|
|
||||||
Ispeed uint64
|
Ispeed uint64
|
||||||
Ospeed uint64
|
Ospeed uint64
|
||||||
}
|
}
|
||||||
|
|
20
vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
generated
vendored
20
vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
generated
vendored
|
@ -1,6 +1,5 @@
|
||||||
// NOTE: cgo can't generate struct Stat_t and struct Statfs_t yet
|
// cgo -godefs types_darwin.go | go run mkpost.go
|
||||||
// Created by cgo -godefs - DO NOT EDIT
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
||||||
// cgo -godefs types_darwin.go
|
|
||||||
|
|
||||||
// +build arm,darwin
|
// +build arm,darwin
|
||||||
|
|
||||||
|
@ -31,7 +30,7 @@ type Timeval struct {
|
||||||
Usec int32
|
Usec int32
|
||||||
}
|
}
|
||||||
|
|
||||||
type Timeval32 [0]byte
|
type Timeval32 struct{}
|
||||||
|
|
||||||
type Rusage struct {
|
type Rusage struct {
|
||||||
Utime Timeval
|
Utime Timeval
|
||||||
|
@ -93,9 +92,9 @@ type Statfs_t struct {
|
||||||
Type uint32
|
Type uint32
|
||||||
Flags uint32
|
Flags uint32
|
||||||
Fssubtype uint32
|
Fssubtype uint32
|
||||||
Fstypename [16]int8
|
Fstypename [16]byte
|
||||||
Mntonname [1024]int8
|
Mntonname [1024]byte
|
||||||
Mntfromname [1024]int8
|
Mntfromname [1024]byte
|
||||||
Reserved [8]uint32
|
Reserved [8]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -306,7 +305,6 @@ type IfMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Data IfData
|
Data IfData
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -349,7 +347,6 @@ type IfaMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Metric int32
|
Metric int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -370,7 +367,6 @@ type IfmaMsghdr2 struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Refcount int32
|
Refcount int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -379,7 +375,6 @@ type RtMsghdr struct {
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Flags int32
|
Flags int32
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Pid int32
|
Pid int32
|
||||||
|
@ -401,7 +396,8 @@ type RtMetrics struct {
|
||||||
Rtt uint32
|
Rtt uint32
|
||||||
Rttvar uint32
|
Rttvar uint32
|
||||||
Pksent uint32
|
Pksent uint32
|
||||||
Filler [4]uint32
|
State uint32
|
||||||
|
Filler [3]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
24
vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
generated
vendored
24
vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
generated
vendored
|
@ -70,7 +70,6 @@ type Stat_t struct {
|
||||||
Uid uint32
|
Uid uint32
|
||||||
Gid uint32
|
Gid uint32
|
||||||
Rdev int32
|
Rdev int32
|
||||||
_ [4]byte
|
|
||||||
Atim Timespec
|
Atim Timespec
|
||||||
Mtim Timespec
|
Mtim Timespec
|
||||||
Ctim Timespec
|
Ctim Timespec
|
||||||
|
@ -97,10 +96,11 @@ type Statfs_t struct {
|
||||||
Type uint32
|
Type uint32
|
||||||
Flags uint32
|
Flags uint32
|
||||||
Fssubtype uint32
|
Fssubtype uint32
|
||||||
Fstypename [16]int8
|
Fstypename [16]byte
|
||||||
Mntonname [1024]int8
|
Mntonname [1024]byte
|
||||||
Mntfromname [1024]int8
|
Mntfromname [1024]byte
|
||||||
Reserved [8]uint32
|
Flags_ext uint32
|
||||||
|
Reserved [7]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
type Flock_t struct {
|
type Flock_t struct {
|
||||||
|
@ -133,8 +133,7 @@ type Fbootstraptransfer_t struct {
|
||||||
|
|
||||||
type Log2phys_t struct {
|
type Log2phys_t struct {
|
||||||
Flags uint32
|
Flags uint32
|
||||||
_ [8]byte
|
_ [16]byte
|
||||||
_ [8]byte
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Fsid struct {
|
type Fsid struct {
|
||||||
|
@ -225,10 +224,8 @@ type IPv6Mreq struct {
|
||||||
type Msghdr struct {
|
type Msghdr struct {
|
||||||
Name *byte
|
Name *byte
|
||||||
Namelen uint32
|
Namelen uint32
|
||||||
_ [4]byte
|
|
||||||
Iov *Iovec
|
Iov *Iovec
|
||||||
Iovlen int32
|
Iovlen int32
|
||||||
_ [4]byte
|
|
||||||
Control *byte
|
Control *byte
|
||||||
Controllen uint32
|
Controllen uint32
|
||||||
Flags int32
|
Flags int32
|
||||||
|
@ -313,7 +310,6 @@ type IfMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Data IfData
|
Data IfData
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -356,7 +352,6 @@ type IfaMsghdr struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Metric int32
|
Metric int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -377,7 +372,6 @@ type IfmaMsghdr2 struct {
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Refcount int32
|
Refcount int32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -386,7 +380,6 @@ type RtMsghdr struct {
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Flags int32
|
Flags int32
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Pid int32
|
Pid int32
|
||||||
|
@ -408,7 +401,8 @@ type RtMetrics struct {
|
||||||
Rtt uint32
|
Rtt uint32
|
||||||
Rttvar uint32
|
Rttvar uint32
|
||||||
Pksent uint32
|
Pksent uint32
|
||||||
Filler [4]uint32
|
State uint32
|
||||||
|
Filler [3]uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -431,7 +425,6 @@ type BpfStat struct {
|
||||||
|
|
||||||
type BpfProgram struct {
|
type BpfProgram struct {
|
||||||
Len uint32
|
Len uint32
|
||||||
_ [4]byte
|
|
||||||
Insns *BpfInsn
|
Insns *BpfInsn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -456,7 +449,6 @@ type Termios struct {
|
||||||
Cflag uint64
|
Cflag uint64
|
||||||
Lflag uint64
|
Lflag uint64
|
||||||
Cc [20]uint8
|
Cc [20]uint8
|
||||||
_ [4]byte
|
|
||||||
Ispeed uint64
|
Ispeed uint64
|
||||||
Ospeed uint64
|
Ospeed uint64
|
||||||
}
|
}
|
||||||
|
|
46
vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
generated
vendored
46
vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
generated
vendored
|
@ -70,11 +70,11 @@ type Stat_t struct {
|
||||||
Ctim Timespec
|
Ctim Timespec
|
||||||
Size int64
|
Size int64
|
||||||
Blocks int64
|
Blocks int64
|
||||||
Blksize uint32
|
_ uint32
|
||||||
Flags uint32
|
Flags uint32
|
||||||
Gen uint32
|
Gen uint32
|
||||||
Lspare int32
|
Lspare int32
|
||||||
Qspare1 int64
|
Blksize int64
|
||||||
Qspare2 int64
|
Qspare2 int64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,17 +91,15 @@ type Statfs_t struct {
|
||||||
Owner uint32
|
Owner uint32
|
||||||
Type int32
|
Type int32
|
||||||
Flags int32
|
Flags int32
|
||||||
_ [4]byte
|
|
||||||
Syncwrites int64
|
Syncwrites int64
|
||||||
Asyncwrites int64
|
Asyncwrites int64
|
||||||
Fstypename [16]int8
|
Fstypename [16]byte
|
||||||
Mntonname [80]int8
|
Mntonname [80]byte
|
||||||
Syncreads int64
|
Syncreads int64
|
||||||
Asyncreads int64
|
Asyncreads int64
|
||||||
Spares1 int16
|
Spares1 int16
|
||||||
Mntfromname [80]int8
|
Mntfromname [80]byte
|
||||||
Spares2 int16
|
Spares2 int16
|
||||||
_ [4]byte
|
|
||||||
Spare [2]int64
|
Spare [2]int64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -202,10 +200,8 @@ type IPv6Mreq struct {
|
||||||
type Msghdr struct {
|
type Msghdr struct {
|
||||||
Name *byte
|
Name *byte
|
||||||
Namelen uint32
|
Namelen uint32
|
||||||
_ [4]byte
|
|
||||||
Iov *Iovec
|
Iov *Iovec
|
||||||
Iovlen int32
|
Iovlen int32
|
||||||
_ [4]byte
|
|
||||||
Control *byte
|
Control *byte
|
||||||
Controllen uint32
|
Controllen uint32
|
||||||
Flags int32
|
Flags int32
|
||||||
|
@ -269,7 +265,7 @@ type FdSet struct {
|
||||||
const (
|
const (
|
||||||
SizeofIfMsghdr = 0xb0
|
SizeofIfMsghdr = 0xb0
|
||||||
SizeofIfData = 0xa0
|
SizeofIfData = 0xa0
|
||||||
SizeofIfaMsghdr = 0x14
|
SizeofIfaMsghdr = 0x18
|
||||||
SizeofIfmaMsghdr = 0x10
|
SizeofIfmaMsghdr = 0x10
|
||||||
SizeofIfAnnounceMsghdr = 0x18
|
SizeofIfAnnounceMsghdr = 0x18
|
||||||
SizeofRtMsghdr = 0x98
|
SizeofRtMsghdr = 0x98
|
||||||
|
@ -280,10 +276,9 @@ type IfMsghdr struct {
|
||||||
Msglen uint16
|
Msglen uint16
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Addrs int32
|
|
||||||
Flags int32
|
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
Flags int32
|
||||||
|
Addrs int32
|
||||||
Data IfData
|
Data IfData
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -294,7 +289,6 @@ type IfData struct {
|
||||||
Hdrlen uint8
|
Hdrlen uint8
|
||||||
Recvquota uint8
|
Recvquota uint8
|
||||||
Xmitquota uint8
|
Xmitquota uint8
|
||||||
_ [2]byte
|
|
||||||
Mtu uint64
|
Mtu uint64
|
||||||
Metric uint64
|
Metric uint64
|
||||||
Link_state uint64
|
Link_state uint64
|
||||||
|
@ -316,24 +310,23 @@ type IfData struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type IfaMsghdr struct {
|
type IfaMsghdr struct {
|
||||||
Msglen uint16
|
Msglen uint16
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Addrs int32
|
Index uint16
|
||||||
Flags int32
|
Flags int32
|
||||||
Index uint16
|
Addrs int32
|
||||||
_ [2]byte
|
Addrflags int32
|
||||||
Metric int32
|
Metric int32
|
||||||
}
|
}
|
||||||
|
|
||||||
type IfmaMsghdr struct {
|
type IfmaMsghdr struct {
|
||||||
Msglen uint16
|
Msglen uint16
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Addrs int32
|
|
||||||
Flags int32
|
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
Flags int32
|
||||||
|
Addrs int32
|
||||||
}
|
}
|
||||||
|
|
||||||
type IfAnnounceMsghdr struct {
|
type IfAnnounceMsghdr struct {
|
||||||
|
@ -350,7 +343,6 @@ type RtMsghdr struct {
|
||||||
Version uint8
|
Version uint8
|
||||||
Type uint8
|
Type uint8
|
||||||
Index uint16
|
Index uint16
|
||||||
_ [2]byte
|
|
||||||
Flags int32
|
Flags int32
|
||||||
Addrs int32
|
Addrs int32
|
||||||
Pid int32
|
Pid int32
|
||||||
|
@ -374,7 +366,6 @@ type RtMetrics struct {
|
||||||
Hopcount uint64
|
Hopcount uint64
|
||||||
Mssopt uint16
|
Mssopt uint16
|
||||||
Pad uint16
|
Pad uint16
|
||||||
_ [4]byte
|
|
||||||
Msl uint64
|
Msl uint64
|
||||||
Iwmaxsegs uint64
|
Iwmaxsegs uint64
|
||||||
Iwcapsegs uint64
|
Iwcapsegs uint64
|
||||||
|
@ -400,7 +391,6 @@ type BpfStat struct {
|
||||||
|
|
||||||
type BpfProgram struct {
|
type BpfProgram struct {
|
||||||
Len uint32
|
Len uint32
|
||||||
_ [4]byte
|
|
||||||
Insns *BpfInsn
|
Insns *BpfInsn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
2
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
|
@ -988,7 +988,7 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
PERF_FLAG_FD_CLOEXEF_TYPE_HARDWARE = 0x0
|
PERF_TYPE_HARDWARE = 0x0
|
||||||
PERF_TYPE_SOFTWARE = 0x1
|
PERF_TYPE_SOFTWARE = 0x1
|
||||||
PERF_TYPE_TRACEPOINT = 0x2
|
PERF_TYPE_TRACEPOINT = 0x2
|
||||||
PERF_TYPE_HW_CACHE = 0x3
|
PERF_TYPE_HW_CACHE = 0x3
|
||||||
|
|
12
vendor/modules.txt
vendored
12
vendor/modules.txt
vendored
|
@ -19,7 +19,7 @@ github.com/VictoriaMetrics/metrics
|
||||||
# github.com/VictoriaMetrics/metricsql v0.7.1
|
# github.com/VictoriaMetrics/metricsql v0.7.1
|
||||||
github.com/VictoriaMetrics/metricsql
|
github.com/VictoriaMetrics/metricsql
|
||||||
github.com/VictoriaMetrics/metricsql/binaryop
|
github.com/VictoriaMetrics/metricsql/binaryop
|
||||||
# github.com/aws/aws-sdk-go v1.35.3
|
# github.com/aws/aws-sdk-go v1.35.5
|
||||||
github.com/aws/aws-sdk-go/aws
|
github.com/aws/aws-sdk-go/aws
|
||||||
github.com/aws/aws-sdk-go/aws/arn
|
github.com/aws/aws-sdk-go/aws/arn
|
||||||
github.com/aws/aws-sdk-go/aws/awserr
|
github.com/aws/aws-sdk-go/aws/awserr
|
||||||
|
@ -112,7 +112,7 @@ github.com/valyala/gozstd
|
||||||
github.com/valyala/histogram
|
github.com/valyala/histogram
|
||||||
# github.com/valyala/quicktemplate v1.6.3
|
# github.com/valyala/quicktemplate v1.6.3
|
||||||
github.com/valyala/quicktemplate
|
github.com/valyala/quicktemplate
|
||||||
# go.opencensus.io v0.22.4
|
# go.opencensus.io v0.22.5
|
||||||
go.opencensus.io
|
go.opencensus.io
|
||||||
go.opencensus.io/internal
|
go.opencensus.io/internal
|
||||||
go.opencensus.io/internal/tagencoding
|
go.opencensus.io/internal/tagencoding
|
||||||
|
@ -135,7 +135,7 @@ golang.org/x/lint/golint
|
||||||
# golang.org/x/mod v0.3.0
|
# golang.org/x/mod v0.3.0
|
||||||
golang.org/x/mod/module
|
golang.org/x/mod/module
|
||||||
golang.org/x/mod/semver
|
golang.org/x/mod/semver
|
||||||
# golang.org/x/net v0.0.0-20201002202402-0a1ea396d57c
|
# golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0
|
||||||
golang.org/x/net/context
|
golang.org/x/net/context
|
||||||
golang.org/x/net/context/ctxhttp
|
golang.org/x/net/context/ctxhttp
|
||||||
golang.org/x/net/http/httpguts
|
golang.org/x/net/http/httpguts
|
||||||
|
@ -150,7 +150,7 @@ golang.org/x/oauth2/google
|
||||||
golang.org/x/oauth2/internal
|
golang.org/x/oauth2/internal
|
||||||
golang.org/x/oauth2/jws
|
golang.org/x/oauth2/jws
|
||||||
golang.org/x/oauth2/jwt
|
golang.org/x/oauth2/jwt
|
||||||
# golang.org/x/sys v0.0.0-20201005172224-997123666555
|
# golang.org/x/sys v0.0.0-20201008064518-c1f3e3309c71
|
||||||
golang.org/x/sys/internal/unsafeheader
|
golang.org/x/sys/internal/unsafeheader
|
||||||
golang.org/x/sys/unix
|
golang.org/x/sys/unix
|
||||||
# golang.org/x/text v0.3.3
|
# golang.org/x/text v0.3.3
|
||||||
|
@ -158,7 +158,7 @@ golang.org/x/text/secure/bidirule
|
||||||
golang.org/x/text/transform
|
golang.org/x/text/transform
|
||||||
golang.org/x/text/unicode/bidi
|
golang.org/x/text/unicode/bidi
|
||||||
golang.org/x/text/unicode/norm
|
golang.org/x/text/unicode/norm
|
||||||
# golang.org/x/tools v0.0.0-20201005185003-576e169c3de7
|
# golang.org/x/tools v0.0.0-20201008025239-9df69603baec
|
||||||
golang.org/x/tools/cmd/goimports
|
golang.org/x/tools/cmd/goimports
|
||||||
golang.org/x/tools/go/ast/astutil
|
golang.org/x/tools/go/ast/astutil
|
||||||
golang.org/x/tools/go/gcexportdata
|
golang.org/x/tools/go/gcexportdata
|
||||||
|
@ -199,7 +199,7 @@ google.golang.org/appengine/internal/modules
|
||||||
google.golang.org/appengine/internal/remote_api
|
google.golang.org/appengine/internal/remote_api
|
||||||
google.golang.org/appengine/internal/urlfetch
|
google.golang.org/appengine/internal/urlfetch
|
||||||
google.golang.org/appengine/urlfetch
|
google.golang.org/appengine/urlfetch
|
||||||
# google.golang.org/genproto v0.0.0-20201002142447-3860012362da
|
# google.golang.org/genproto v0.0.0-20201007142714-5c0e72c5e71e
|
||||||
google.golang.org/genproto/googleapis/api/annotations
|
google.golang.org/genproto/googleapis/api/annotations
|
||||||
google.golang.org/genproto/googleapis/iam/v1
|
google.golang.org/genproto/googleapis/iam/v1
|
||||||
google.golang.org/genproto/googleapis/rpc/code
|
google.golang.org/genproto/googleapis/rpc/code
|
||||||
|
|
Loading…
Reference in a new issue