Richard Fuchs
0fa3a105af
TT#131402 add stats for user/kernel streams
Change-Id: I78800a3bbef9fdd92369c2ed14efd39c7799178f
4 years ago
Richard Fuchs
7699e1da64
TT#131402 convert bitfield functions to `bool` type
Change-Id: If7f59a8a8437752c13909f6d6a09f8056ac4efbf
4 years ago
Richard Fuchs
c5dc3484ae
TT#131402 split up relay stats between kernel and userspace
Change-Id: I9e5a82e5817829d8a1b17e6828bb0594fbc8df08
4 years ago
Richard Fuchs
06006df6fb
TT#101150 obsolete 'totalstats'
Change-Id: I744222b313f50fcf08d421309c329256f78869aa
4 years ago
Richard Fuchs
b0ebe9ba1b
TT#101150 move start timestamp to global var
Change-Id: I03efdbf02b5fbf16616d26010cb79b0932cd4e00
4 years ago
Richard Fuchs
2ae5cc79ba
TT#101150 obsolete more fields from struct totalstats
total_managed_sess, total_average_call_dur, total_average_lock,
managed_sess_max, managed_sess_min, managed_sess_lock
Change-Id: Ibe3f619ec6d2f21270fc81901dde55b5242b0daa
4 years ago
Richard Fuchs
3fa16c6ab1
TT#101150 generalise ng command stats into array/list
Change-Id: I43c7074237ae70d9bcb12b4946ce2c751d135bc8
4 years ago
Richard Fuchs
6563a5ac6f
TT#101150 move some header includes/defs around
Change-Id: I2507b1bb22d4ba10f632fe2fa794fde975734f99
4 years ago
Richard Fuchs
d4102280b2
TT#101150 obsolete struct request_time stats
Change-Id: Icf3e0648a0ba821bc66c6dd0e8f5ebc30576fb70
4 years ago
Richard Fuchs
f5f29e1c59
TT#101150 add min/max/avg tracking for gauge stats
Change-Id: I6a682f2bb98673361a8454f419f8a0fb7d37ef75
4 years ago
Richard Fuchs
b4295684a5
TT#101150 convert stats gauge handling to macros
Change-Id: I583bb1a09196d055710ee5e1d379541f23c54117
4 years ago
Richard Fuchs
8b5f0e997e
TT#101150 copy out per-interface counter stats
Change-Id: I44174b1975b1ccfe30e6e9050bed00d57c7b8157
4 years ago
Richard Fuchs
7337f4a231
TT#101150 obsolete offers/answers/deletes_ps
Change-Id: I92e1a3617e2c47deeacc0186a930da0f6247f273
4 years ago
Richard Fuchs
899d95791f
TT#101150 add stats_counters_min_max()
Change-Id: I9c3104718696a8e1fc69faee132f960209e80c15
4 years ago
Richard Fuchs
2b60a678e2
TT#101150 use STATS_INC macro for req stats
Change-Id: I7d205e4f6b168ac1031737e80a3bb6d7f455dc25
4 years ago
Richard Fuchs
facb4b54db
TT#101150 obsolete redundant fields in struct totalstats
Change-Id: I75d8bb1890ce35faac271550a1f9aff0f24ce624
4 years ago
Richard Fuchs
3608d9b070
TT#101150 obsolete total_relayed_* fields
Change-Id: I2340daba8f8088af81b3ed6b5dfc6f5fb8621a9a
4 years ago
Richard Fuchs
d197a27b40
TT#101150 add graphite-specific global_stats_ax
Change-Id: I01ad26b1c6029d02c0a41216ba238c1f2c3a2f2d
4 years ago
Richard Fuchs
f8c3f93f57
TT#101150 add support for local copy-out of stats
Change-Id: I1752fa8fe94799eedbac7f3fb674a61a0b6de162
4 years ago
Richard Fuchs
181dfe6b1c
TT#101150 update runtime averaging to microseconds
Change-Id: I2c83dfb5ca128331662058a045daf8d59397777b
4 years ago
Richard Fuchs
ac518471a3
TT#101150 add atomic64_set_if()
Change-Id: I7ecc50ede0223cce6dc5b6cdc000d99520f8dac1
4 years ago
Richard Fuchs
01263d644c
TT#101150 refactor counter stats into macro list
Change-Id: Ic23fd457bfd5a9cae08f2d48b6ab8054480cd070
4 years ago
Richard Fuchs
ad64f4fa00
TT#101150 introduce proper struct for "counter" style stats
Change-Id: Ifd06c54b25126426fe21723b8fb7a21d9bd03cba
4 years ago
Richard Fuchs
7dcc4473f5
TT#101150 split out "gauge" style stats
Change-Id: I52617a083bbbd41342b6413d8cacc5235cec51d9
4 years ago
Richard Fuchs
a1f3530292
TT#101150 separate out `struct stream_stats`
Change-Id: I709060d9e805175bd99173df03e581b593506e15
4 years ago
Richard Fuchs
9c3e5e1fd7
TT#101150 properly name RTPE_STATS_INC/ADD
Change-Id: Iba35ea5a453d1a45b575ee98c4aeb2e0aef39473
4 years ago
Richard Fuchs
406f2dc36d
TT#101150 remove in_tos_tclass from struct stats
Change-Id: I000f19f3eade23085952c86f6f730ab954f81b95
4 years ago
Richard Fuchs
1fac2b08b9
TT#101150 use rtpe_now for timer start time
makes testing it easier
Change-Id: I47205dac1aaac752f1fa7a3cdf892f1fd0c45970
4 years ago
Richard Fuchs
30d91ecc63
TT#101150 add test script for stats output
Change-Id: I13cc172b082e78c3d52032bd72e0a2f5158c71ed
4 years ago
Richard Fuchs
fd064304bb
TT#14008 fix missing timestamping during redis restore
closes #1363
Change-Id: I4aac5096fd18067b3503e834a687277e7d5903fb
4 years ago
Richard Fuchs
a4e3f96b3f
TT#14008 always add a=mid to media section
closes #1361
Change-Id: I8c3dfb54f47f0cfeb913f27b240eed55e2ca8154
4 years ago
Richard Fuchs
0c7a1fdf28
TT#14008 add make dependencies for header files
Rebuilding everything every time a header file changes might be
overkill, but it's easy addition and much less hassle than .d files.
Change-Id: I11aeddbcc5ecc48dfca2adf249129c936c7f6d30
4 years ago
Richard Fuchs
3f69a48f07
TT#14008 add NAT-wait flag
Change-Id: Icfbacc3094ee20955eb50ad9f9c487e9b9a239b9
4 years ago
Richard Fuchs
ac60645c13
TT#14008 fix possible null pointer
closes #1358
Change-Id: Id4ad456304569dd79fd1ac19b3f2127c705cd650
4 years ago
Ricardas Stoma
d1e2720b39
TT#14008 show codec name in media stats
closes #1347
Change-Id: Iba796f585ae93a17347dea96f91472a60bf32b60
4 years ago
Richard Fuchs
d6bffa17f1
TT#142100 fix possible null pointer
Change-Id: I6f46bd768e3d77e56f3f95a2280c3ee41fcc9813
4 years ago
Richard Fuchs
4fa48df952
TT#14008 fix kernel RTCP mux test
AVPF extended (non-compound) RTCP packets don't satisy the same RTP-like
header rules as regular RTCP compound packets, therefore we move the
RTCP mux test ahead of the RTP header parsing test.
Change-Id: Iecb3895d16796095f572c2eda2efa0a7a0dc69e7
4 years ago
Richard Fuchs
ff2aed5907
TT#14008 avoid confirm/unconfirm/reconfig flip-flop
Distinguish between unconfirming the learned peer address and
retriggering the kernel stream. In particular we don't want to unconfirm
the sinks every time we confirmed our own peer, as that starts an
unconfirm/reconfirm loop.
Change-Id: I1f172385aefeacbc4585729bce25fbc68f04c2bd
4 years ago
Richard Fuchs
b28ea21f41
TT#14008 add extra debug logging for kernel streams
Change-Id: I7a17e74dea7ce11e5923f82436efbfe3160d8ed8
4 years ago
Richard Fuchs
758badb46a
TT#14008 output list of subscriptions in final log stats
Change-Id: I14d6b7bd195496cda2122e64d34d942ae4f650e9
4 years ago
Richard Fuchs
af79ec6a91
TT#14008 rework offer/answer subscriptions
While doing the A/B reassociation during an offer/answer exchange, we
don't (necessarily) want to remove all existing subscriptions. Instead
we cant to unsubscribe all subscribers so we don't do media forking, but
leaving existing subscriptions alone to make early media reception
possible. This mirros the old behaviour.
Change-Id: Ib9e6671ca2d23d1eb4509d7cf939015c816cc622
4 years ago
Richard Fuchs
6f0439daf3
TT#14008 avoid duplicate bencode dict keys
Multiple untagged monologues can exist at the same time which would lead
to a broken bencode dictionary. Instead use a pseudo label to
distinguish them.
Change-Id: I0f41c42df8ec17c1c4fb5cc6451ea039612e505f
4 years ago
Richard Fuchs
2a39277f0c
TT#14008 add hash table for subscriptions for quick lookups
Change-Id: Id1585cc7edb8c72bc571006f20228706d00e6955
4 years ago
Richard Fuchs
6c9fe540cf
TT#14008 remove redundant check for FILLED sinks
We may have multiple subscribers, some of which may be dead/unused. We
don't care if we have these since we don't forward to them anyway.
possibly relevant for #1337
Change-Id: I3cded5080aa2005e9dd615cccf60bd4cba5feb7d
4 years ago
Richard Fuchs
5c01d905e5
TT#14008 use bool type for SSRC changed funcs
Change-Id: I026f7d93c8fa3bbfea6b1ab6967b8cd1231637d5
4 years ago
Richard Fuchs
2770bec906
TT#14008 set non_forwarding flag if no sinks are present
This silences a warning coming back from incorrect usage of the kernel
module
Change-Id: I2f03518a67620b92ef6b6ccd4ae6a4780087e206
4 years ago
Richard Fuchs
702dd9bb13
TT#14008 don't try to update kernel stats for no-kernel streams
Set NO_KERNEL_SUPPORT when we don't actually kernelise the stream, and
use that flag when trying to pull stream stats.
probably closes #1337
Change-Id: I46af55e353d87c5afdda3c106d1f3470273105bf
4 years ago
Richard Fuchs
f6461ab452
TT#14008 use FILLED flag instead of advertised address for sink test
The advertised address might be empty (trickle ICE) so use the FILLED
flag instead to see if the sink is eligible.
Change-Id: I114bd7400ccfcc3ecbc871bdcc5aee4e7d699816
4 years ago
Richard Fuchs
6443cfcb8e
TT#14008 skip stray warning message for trickle ICE updates
Change-Id: I2c9c9745df1ac6dbdea5873f8f54709e69dc1f82
4 years ago
Richard Fuchs
b397bf6373
TT#14008 increase number of kernel payload types
Change-Id: I01e98d4937cd88ba5e1503aaa72c6a8a9c5c8fa6
4 years ago