This project is mirrored from https://gitee.com/cowcomic/pixie.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 06 Nov, 2020 1 commit
    • Vihang Mehta's avatar
      New license fetcher · a2bad481
      Vihang Mehta authored
      Summary:
      Reads `go.sum` to check all golang deps. Tries to fetch license from `github.com` and if it fails, tries `pkg.go.dev`.
      Reads `.gitmodules` for submodules and tries to fetch licenses from `github.com`.
      Uses the npm `license-checker` package to fetch licenses for npm deps.
      Reads `repositories.bzl` for other deps and tries to fetch licenses from `github.com`.
      
      Falls back to reading a manual JSON input for deps that we couldn't automatically fetch licenses for.
      
      Test Plan: Run the license fetcher script.
      
      Reviewers: zasgar, philkuz, #engineering, michelle
      
      Reviewed By: philkuz, #engineering, michelle
      
      Subscribers: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D6652
      
      GitOrigin-RevId: a7afed22cc3d65c4a87fd161f0fb1ce5ef619e60
      a2bad481
  2. 03 Oct, 2020 1 commit
    • Omid Azizi's avatar
      New submodule: dnsparser · c53c6820
      Omid Azizi authored
      Summary: Starting to look into a DNS protocol parser. Start with an existing simple parser.
      
      Test Plan: None
      
      Reviewers: yzhao, #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D6436
      
      GitOrigin-RevId: 9ef66a042b168bc1f48f248a45b9d658560b64af
      c53c6820
  3. 11 Sep, 2020 1 commit
    • Omid Azizi's avatar
      BPFTrace build · ca43960c
      Omid Azizi authored
      Summary: Restoring the BPFTrace submodule and build.
      
      Test Plan: Manual
      
      Reviewers: yzhao, #engineering
      
      Reviewed By: yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D6211
      
      GitOrigin-RevId: c4fab9013bda7dd6ea92070da2cb864f430510bd
      ca43960c
  4. 16 Jul, 2020 1 commit
    • Zain Asgar's avatar
      Clang-10 and actually fix dev image to be Ubuntu 20.04. · 0b638730
      Zain Asgar authored
      Summary:
      This fixes the following issue related to libtinfo on PEM/Kelvin start:
      `libtinfo.so.5: cannot open shared object file: No such file or directory`
      
      When we updated to 20.04, I think I changed the base image but not the active dev image.
      This means that we were building all the images using the old ubuntu 18.04.
      James noticed a break with skaffold that caused the PEMs to break because of relying on deprecated terminfo5 so he changed our sid deploy dependency to terminfo6. Unfortunately, this broke our deploy images.
      
      I updated the dev images to be ubuntu 18.04, but sadly Clang on that relies on terminfo5 so it's broken with ubuntu 20.04. It's fixable by installing terminfo5, but this might break our code if it links to v5 instead of v6, since we only ship v6.
      
      Updating the old clang install didn't work. clang-9 does not compile with clang-10. Ubuntu 20.04 ships with clang-10 so the compiler can't build our old clang-9 deb with terminfo6...
      
      This updates the compiler to clang-10 with all the related changes necessary to make sure the code still compiles.
      
      Test Plan:
      `bazel test //...` in the docker VM.
      `bazel run src/vizier/services/agent:pem_image` in the docker VM.
      
      Reviewers: oazizi, michelle, jamesbartlett, philkuz, #engineering
      
      Reviewed By: oazizi, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5623
      
      GitOrigin-RevId: a26680e32211f9aec5e42c1349c4cd35015e2213
      0b638730
  5. 03 Jun, 2020 1 commit
    • Zain Asgar's avatar
      Move docs hosting to netlify. · 5399564a
      Zain Asgar authored
      Summary: Remove docs hosting from pixie and move to netlify. It will make it easier to use their CDN.
      
      Test Plan: Tested using dev cloud on skaffold to verify the redirects.
      
      Reviewers: michelle, philkuz, #engineering
      
      Reviewed By: michelle, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D5047
      
      GitOrigin-RevId: 42f5bd8b2c3564e7ea534c5212a39d08a0bf9bdf
      5399564a
  6. 19 May, 2020 1 commit
    • Michelle Nguyen's avatar
      Fix cloud kuberesolver TLS bug · 2273b457
      Michelle Nguyen authored
      Summary:
      we recently updated grpc, which slightly changes how it uses Addresses (https://godoc.org/google.golang.org/grpc/resolver#Address)
      See: ServerName. it says that if serverName is not empty, that is the name it will use to authenticate with the TLS cert. kuberesolver, the package we're using to resolve kube addresses does not leave this field empty, but rather uses the pod-name, which fails the TLS check. instead, it should be setting this field as "".  patched the kuberesolver library to do that.
      
      Test Plan: ran cloud dev and made sure could login
      
      Reviewers: zasgar, philkuz, #engineering, nserrino
      
      Reviewed By: #engineering, nserrino
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4890
      
      GitOrigin-RevId: fd5f2395c3a2fa5dc22e2d04c32520fe4539d1c0
      2273b457
  7. 22 Mar, 2020 1 commit
    • Omid Azizi's avatar
      ELFIO: Turn into submodule and cut memory usage · 12acd107
      Omid Azizi authored
      Summary:
      To save memory usage, I have tweaked the ELFIO library:
      1) It now has an option to skip loading segments (the sections are all we need).
      2) It no longer loads the data of PROGBITS sections, which contain program specific information, including DWARF info. Getting the symbols do not require these sections, which take up a lot of memory.
      
      On one binary, this brought the memory requirements (RSS) from 278 MB down to 63 MB, over 4x memory savings.
      
      Test Plan: Existing tests
      
      Reviewers: zasgar, yzhao, #engineering
      
      Reviewed By: zasgar, #engineering
      
      JIRA Issues: PL-1645
      
      Differential Revision: https://phab.corp.pixielabs.ai/D4016
      
      GitOrigin-RevId: c25b879706e3d31623805c08cc5b1bbee8883685
      12acd107
  8. 05 Mar, 2020 1 commit
  9. 09 Feb, 2020 1 commit
    • Zain Asgar's avatar
      Add customer docs submodule · 791fa2bd
      Zain Asgar authored
      Summary:
      Customer docs moved to github repo and submodule added.
      This will allow contractors to contribute the github repo.
      
      Test Plan: N/A
      
      Reviewers: michelle, #engineering
      
      Reviewed By: michelle, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D3472
      
      GitOrigin-RevId: 68b02bc160c803b0f434c05515bccb2eb14ecdaf
      791fa2bd
  10. 21 Nov, 2019 1 commit
    • Omid Azizi's avatar
      Add aes-min submodule, with some tests · e17abf9d
      Omid Azizi authored
      Summary:
      With TLS, when we capture keys with uprobes, we actually get the expanded round keys.
      For example, there are 11*16B such keys for AES-128.
      
      But these keys are hard to use with existing crypto libraries, since their interface generally wants
      the master key.
      
      This diff includes a modified aes-min submodule. The aes-min has been modified to incorporate
      a reverse key generator that goes from the expanded round keys back to the original key.
      
      Next step is to use the recovered master key to show a proof-of-concept that we can decrypt captured traces.
      
      Test Plan: A couple of AES-min tests added to show how the key recovery works.
      
      Reviewers: zasgar, yzhao, #engineering
      
      Reviewed By: zasgar, yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D2656
      
      GitOrigin-RevId: 48c809a1e7b85f7597f4948f034af5320960961c
      e17abf9d
  11. 14 Nov, 2019 1 commit
  12. 09 Oct, 2019 1 commit
    • Phillip Kuznetsov's avatar
      Adding glice to the repo · 91520760
      Phillip Kuznetsov authored
      Summary: adding our local copy of glice to the repo to use in license generating scripts
      
      Test Plan: `bazel run @com_github_ribice_glice//:glice`
      
      Reviewers: zasgar, michelle, #engineering
      
      Reviewed By: michelle, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D2220
      
      GitOrigin-RevId: 2df7efd68f6fff3054e7d98554e1d454facc77ff
      91520760
  13. 04 Sep, 2019 1 commit
    • Yaxiong Zhao's avatar
      Imports protobuf as submodule · cad98dd8
      Yaxiong Zhao authored
      Summary:
      The reason that it cannot be adapted as nghttp2, is that we need to change a piece of code
      that is deep in the chain of DescriptorDatabase, DynamicMessage, DescriptorProto.
      
      We'll need to replace DynamicMessage with our own version, and and reimplement DescriptorDatabase to
      return that new class, that will be too much work and fragile to breakage as we'll duplicate a lot
      of code.
      
      Test Plan: Jenkins
      
      Reviewers: #engineering, oazizi, zasgar
      
      Reviewed By: #engineering, oazizi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D1742
      
      GitOrigin-RevId: eb0debd44a97be5bb14598eece0f4cc0e0c75edf
      cad98dd8
  14. 26 Jun, 2019 2 commits
    • Zain Asgar's avatar
      Move BCC build to bazel · 4f4b94ba
      Zain Asgar authored
      Summary:
      This makes it easier for us to move the build to libc++, because
      it allows build flags to be seamlessly used by the BCC build.
      
      Test Plan: Jenkins
      
      Reviewers: oazizi, yzhao, #engineering
      
      Reviewed By: oazizi, yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D1044
      
      GitOrigin-RevId: f8cf302795b7dab9b00a33fd72a1ca97cce607f2
      4f4b94ba
    • Zain Asgar's avatar
      Remove unused bpftrace and associated connector · 0270befc
      Zain Asgar authored
      Summary: We don't currently use bpftrace and connectors and it's make the move to libc++ complicated.
      
      Test Plan: Jenkins
      
      Reviewers: oazizi, yzhao, #engineering
      
      Reviewed By: oazizi, yzhao, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D1042
      
      GitOrigin-RevId: b665e703c62803297332d00014201daef5d45b02
      0270befc
  15. 11 Mar, 2019 1 commit
    • Zain Asgar's avatar
      Add tdigest repo · 3b563a44
      Zain Asgar authored
      Summary:
      Point to a private form of tdigest code.
      This is used for quantiles (coming soon).
      
      Test Plan: N/A
      
      Reviewers: michelle, oazizi, #engineering
      
      Reviewed By: oazizi, #engineering
      
      Differential Revision: https://phab.corp.pixielabs.ai/D439
      
      GitOrigin-RevId: e4baf00e4e92d9cee449e583cf14414e00e911da
      3b563a44
  16. 16 Feb, 2019 1 commit
    • Omid Azizi's avatar
      Bazel build of bpftrace · 5ed31338
      Omid Azizi authored
      Summary: Add a submodule for bpftrace, and modify the build system to build it.
      
      Test Plan: Count on phabricator to catch any build issues!
      
      Reviewers: #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D292
      
      GitOrigin-RevId: 6fce53a1c509dd9511f03de60b727b94d59a5440
      5ed31338
  17. 04 Feb, 2019 1 commit
    • Zain Asgar's avatar
      Update cpplint to allow thread/chrono. · 10bc61f8
      Zain Asgar authored
      Summary: This is updating the pointer to the latest version by oazizi. I need the change for a change I am working on.
      
      Test Plan: N/A
      
      Reviewers: #engineering, oazizi, michelle
      
      Reviewed By: #engineering, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D251
      
      GitOrigin-RevId: 951ae3d2bff01f7668c27d960fc298cdb60f8688
      10bc61f8
  18. 15 Jan, 2019 1 commit
    • Zain Asgar's avatar
      PL-183 Added libpypa and demo to build. · 1c14d776
      Zain Asgar authored
      Summary: Added as a submodule since it's our private fork.
      
      Test Plan:
      ```
      cd throwaway
      bazel build :pypa_demo
      ../bazel-bin/throwaway/pypa_demo <python file>
      ```
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D194
      
      GitOrigin-RevId: bc1ba537d08dac4c996c58dd7504a4668668733a
      1c14d776
  19. 09 Jan, 2019 1 commit
  20. 10 Dec, 2018 1 commit
    • Zain Asgar's avatar
      Use cpplint github repo · d37f2fdb
      Zain Asgar authored
      Summary: This also updates cpplint and adds support for things like "#pragma once".
      
      Test Plan: Jenkins
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D160
      
      GitOrigin-RevId: 5d08f6d6d0b12027fb3cb27966144f393029790b
      d37f2fdb
  21. 28 Nov, 2018 1 commit
    • Zain Asgar's avatar
      PL-110 - Added chef scripts to setup environments (Mac/Linux). · 6e2147d1
      Zain Asgar authored
      Summary:
      Contains a set of recipes to provision our machines. There are primiarly three different roles that can be provisioned:
      
      pl_base_dev -- Has everything to run builds.
      pl_workstation -- Has the recipes to setup a full dev workstation.
      pl_desktop -- Has all gui apps.
      
      One thing left to debug is why our new images are bit bigger:
      
      Original:
      gcr.io/pl-dev-infra/base_dev_image          201811061534        36a879b7aa10        2 weeks ago         2.26GB
      
      New:
      gcr.io/pl-dev-infra/base_dev_image          201811270026        7ac725b2098b        10 hours ago        2.43GB
      
      And the delta with the dev image (there should be no delta right now):
      gcr.io/pl-dev-infra/dev_image               201811271012        5fa2b90382ed        25 minutes ago      2.85GB
      
      Docs here: https://phab.corp.pixielabs.ai/w/eng/machine_provisioning/
      
      Test Plan:
        Tested on Linux VM to ensure proper setup.
        Tested on Mac.
        Crated docker images using `make build_and_push_bas...
      6e2147d1