qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 507057: trace: Simplify find_debugfs()


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 507057: trace: Simplify find_debugfs()
Date: Tue, 19 Dec 2017 04:48:33 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5070570c9089b905dd9efae30ee4318033c6ccd6
      
https://github.com/qemu/qemu/commit/5070570c9089b905dd9efae30ee4318033c6ccd6
  Author: Namhyung Kim <address@hidden>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M trace/ftrace.c

  Log Message:
  -----------
  trace: Simplify find_debugfs()

The return vale of find_debugfs() is 1 if it could find a mount point of
debugfs.  It can be saved in the while loop instead of checking it again.

Signed-off-by: Namhyung Kim <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: babfff8e11589a2d1ab9ca777ebb16495f708616
      
https://github.com/qemu/qemu/commit/babfff8e11589a2d1ab9ca777ebb16495f708616
  Author: Namhyung Kim <address@hidden>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M trace/ftrace.c

  Log Message:
  -----------
  trace: Generalize searching for debugfs

The find_debugfs() can be shared to find a different filesystem like
tracefs.  So make it more general and rename to find_mount().

Signed-off-by: Namhyung Kim <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: c9add6219514b20223f024584f0464b8842b1ec0
      
https://github.com/qemu/qemu/commit/c9add6219514b20223f024584f0464b8842b1ec0
  Author: Namhyung Kim <address@hidden>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M trace/ftrace.c

  Log Message:
  -----------
  trace: Try using tracefs first

Recent Linux kernel provides separate tracefs which doesn't need to be
mounted on the debugfs.  Although most systems mount it at the
traditional place on the debugfs, it'd be safer to check tracefs first.

Signed-off-by: Namhyung Kim <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 5c9522b358faf9688fd83cd0a881e1990bb84516
      
https://github.com/qemu/qemu/commit/5c9522b358faf9688fd83cd0a881e1990bb84516
  Author: Doug Gale <address@hidden>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M gdbstub.c
    M trace-events

  Log Message:
  -----------
  gdbstub: add tracing

Signed-off-by: Doug Gale <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 46db367db704da87e4beb29db84a0e4978d93235
      
https://github.com/qemu/qemu/commit/46db367db704da87e4beb29db84a0e4978d93235
  Author: Peter Maydell <address@hidden>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M gdbstub.c
    M trace-events
    M trace/ftrace.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' 
into staging

# gpg: Signature made Mon 18 Dec 2017 14:47:53 GMT
# gpg:                using RSA key 0x9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <address@hidden>"
# gpg:                 aka "Stefan Hajnoczi <address@hidden>"
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/tracing-pull-request:
  gdbstub: add tracing
  trace: Try using tracefs first
  trace: Generalize searching for debugfs
  trace: Simplify find_debugfs()

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/eaefea537b47...46db367db704

reply via email to

[Prev in Thread] Current Thread [Next in Thread]