Skip to content
Snippets Groups Projects
  1. Apr 11, 2013
  2. Apr 10, 2013
  3. Apr 09, 2013
  4. Apr 08, 2013
    • Avi Kivity's avatar
      trace: test serialization · aefda14d
      Avi Kivity authored
      Strangely, the compiler is able to remove the test code (including the
      assert) entirely, as it is able to deduce it passed at compile time.
      aefda14d
    • Avi Kivity's avatar
      trace: add function for serializing tracepoint data · a4e877ae
      Avi Kivity authored
      Use the native alignment for speed.
      a4e877ae
    • Nadav Har'El's avatar
      Fix bug running all threads on CPU 0 ;-) · 63ba9b80
      Nadav Har'El authored
      All child threads start running on the CPU which started them, until
      migrated later in load_balancer(). Threads with pinned=true are not
      migrated. Unfortunately, we forgot to initialize the pinned field
      (POD fields are not initialized in C++) - so all threads started
      with random, usually nonzero, "pinned" value and as a result all
      threads remained on CPU 0!
      Now thread migration works as expected.
      63ba9b80
    • Avi Kivity's avatar
      trace: store signature in tracepoint_base class · 99a4f8ed
      Avi Kivity authored
      This allows the log to refer to the tracepoint and thus also the type
      signature.
      99a4f8ed
    • Avi Kivity's avatar
      trace: extract common tracepoint members into a base class · 4d4da678
      Avi Kivity authored
      This allows the trace log to refer to the tracepoint.
      4d4da678
    • Nadav Har'El's avatar
      Avoid recursive use of wait_guard · ef420c0d
      Nadav Har'El authored
      wait_until made recursive use of wait_guard: It held one around the code
      calling wait(), but while still holding it also called mutex_lock() which
      also uses a wait_guard internally. This sort of recursive use of wait_guard
      is theoretically supported, but messy to debug, so I now changed the code a
      bit so only one of them are held at a time (the lock() is outside wait_guard).
      ef420c0d
Loading