Граф коммитов

90 Коммитов

Автор SHA1 Сообщение Дата
cgettys-microsoft b6a07c9f94
remove unnecessary dependency (#42) 2024-10-09 16:30:41 -07:00
cgettys-microsoft e04c784356
Remove unnecessary enablement of tracing-subscriber ansi feature (#41)
* Trim win_etw_tracing dependencies

* adjust slightly more
2024-10-09 15:33:48 -07:00
NateD-MSFT 24b50ad6d5
Fix From<uuid:Uuid> for GUID (#38)
* Add ToOwned import for UUID feature

* Formatting fix

* Update guid.rs
2024-08-08 14:34:52 -07:00
sivadeilra ceb7c46b34
version bump for publication (#36)
Co-authored-by: Arlie Davis <ardavis@microsoft.com>
2024-07-02 09:38:12 -07:00
NateD-MSFT bfd5192b1c
Add no_std feature and make it default for win_etw_provider (#35)
* Basic no_std feature.

Not deeply tested but appears to compile and work when added to another project with a global allocator.

* Make no_std the default.

* Bump MSRV to 1.77 for core::net support.
2024-07-01 22:54:09 -07:00
Daniel Paoliello 06cfdaf891
Merge pull request #34 from microsoft/user/ardavis/fix-provider-traits
Update version number for publish
2024-02-06 09:14:22 -08:00
Arlie Davis 65756a9afa Prepare for publish 2024-02-06 07:51:56 -08:00
ms-jihua 127689941b
Fix provider name macro not being passed onto provider traits (#28) 2024-02-06 07:50:58 -08:00
smalis-msft f6abe32cfb
Update tracing-log (#33) 2024-01-29 22:59:43 -08:00
sivadeilra 7df64398e4
update for publish (#32)
Co-authored-by: Arlie Davis <ardavis@microsoft.com>
2024-01-12 08:33:33 -08:00
Trevor Jones 536edcfebe
upgrade zerocopy version (#31)
* upgrade zerocopy version

* derive feature

* fromzeroes
2024-01-11 16:12:16 -08:00
Cijo Thomas 596f756ec4
Update README.md to fix link to tracing-etw (#26) 2023-05-26 15:48:38 -07:00
sivadeilra 3b2928b264
bump versions for publishing (#25)
Co-authored-by: Arlie Davis <ardavis@microsoft.com>
2023-05-12 09:33:41 -07:00
sivadeilra 1b5978bcc2
Merge pull request #24 from dawid-nowak/main
Implementing From UUID trait for GUID
2023-05-12 08:50:17 -07:00
Dawid Nowak 89cf461336
Merge branch 'microsoft:main' into main 2023-05-11 08:43:20 +00:00
sivadeilra 933d8fcf82
Merge pull request #20 from zanedp/name-based-guid
Generate .NET EventSource-compatible name-based GUID
2023-05-10 12:27:55 -07:00
Dawid Nowak ca4f2730ce Simplifying cargo 2023-05-10 20:23:49 +01:00
Dawid Nowak b5902086da Making UUID optional 2023-05-10 15:49:17 +01:00
Dawid Nowak 7831ea0353 Added from uuid for GUID 2023-04-27 19:37:19 +01:00
Zane Purvis 68c5a04f14 Merge recent changes from upstream 2023-04-21 16:45:23 -04:00
sivadeilra 6f421ee470
Merge pull request #14 from microsoft/user/ardavis/tracing-backend
Add a backend for `tracing` crate that uses ETW events
2023-04-06 11:30:50 -07:00
Arlie Davis 987613c7d5 pr feedback 2023-04-06 11:24:26 -07:00
Arlie Davis 8feba0f37a fix build break 2023-04-06 10:01:33 -07:00
Arlie Davis ca2b60545a version mgmt 2023-04-06 09:49:48 -07:00
Arlie Davis 8d847c6e9d fix clippy warnings 2023-04-06 09:43:52 -07:00
Arlie Davis 5ec14fc33c add version numbers 2023-04-06 09:41:54 -07:00
Arlie Davis 29d683481f forbid unsafe code, move the only unsafe fragment into win_etw_provider 2023-04-06 09:30:58 -07:00
Arlie Davis cabd823e88 import code 2023-04-06 09:30:58 -07:00
sivadeilra e95aaba335
Merge pull request #22 from microsoft/user/ardavis/bump-versions
Bump versions before publishing
2023-03-30 14:22:14 -07:00
Arlie Davis aee95a0cfe bump versions 2023-03-30 14:17:57 -07:00
sivadeilra 8d5f8e74f9
Merge pull request #21 from daprilik/bump-deps
Bump deps: widestring, zerocopy
2023-03-30 14:08:53 -07:00
Daniel Prilik 7ba7485839 oops 2023-03-30 14:02:20 -07:00
Daniel Prilik cbbded93e3 bump ci cargo version 2023-03-30 14:00:59 -07:00
Daniel Prilik d8a9c43fc9 bump deps 2023-03-30 13:54:56 -07:00
Zane Purvis 52e091eeec Make PROVIDER_NAME have static lifetime
Required in 1.55.0
2023-03-23 18:51:07 -04:00
Zane Purvis d10e0d6f53 Update docs 2023-03-23 14:37:50 -04:00
Zane Purvis 5210d22108 Sync doc-comment in lib.rs with README 2023-03-22 23:07:19 -04:00
Zane Purvis c7552c7cdc Fix markdown-lint warnings in README.md 2023-03-22 23:07:19 -04:00
Zane Purvis 09a1d56110 Update README to reflect addition of name-based GUID support 2023-03-22 23:07:19 -04:00
Zane Purvis b6ea54d41e Generate .NET EventSource-compatible name-based GUID
- Add etw_event_source_guid() which uses sha1_smol and uuid v5 feature to calculate name-based GUID
- Make uuid be optional in ProviderAttributes and generate name-based GUID if not provided as parameter to macro
- Add and update unit tests
- Add PROVIDER_NAME to provider, to aid in test/debug of generated GUIDs
2023-03-22 23:06:47 -04:00
sivadeilra 7e9abb72e2
Merge pull request #17 from zanedp/clarify-trait-name-is-provider-name
Mention that trait name is provider name
2023-03-16 11:21:12 -07:00
sivadeilra 69fef40477
Merge pull request #15 from MarkWestMS/set-provider-trait-groupid
Set groupid when setting provider traits
2023-03-14 16:37:37 -07:00
Mark West edc9ce8079 Updates uuid version to use to_bytes_le 2023-03-14 16:29:12 -07:00
Zane Purvis e8b45f88ee Make discussion of provider name a separate paragraph 2023-03-14 19:07:40 -04:00
Zane Purvis be3fdb978e Mention explictly specifying provider name 2023-03-14 18:53:08 -04:00
sivadeilra f998332c82
Merge pull request #18 from microsoft/user/ardavis/clippy-fixes
Fix clippy warnings, add missing Send impl
2023-03-14 09:51:41 -07:00
sivadeilra cb13af48a7
Merge pull request #16 from zanedp/add-name-based-guid-info
Add info about name-based GUIDs
2023-03-14 09:41:30 -07:00
Arlie Davis 246148e124 fix clippy warnings, add missing Send impl 2023-03-14 08:52:33 -07:00
Zane Purvis 47ae44a481 Mention that trait name is provider name 2023-03-14 00:33:02 -04:00
Zane Purvis 463f7a0380 Add info about name-based GUIDs 2023-03-14 00:27:07 -04:00